git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETNS]: Add netns parameter to inet_(dev_)add_type.
[safe/jmp/linux-2.6]
/
net
/
atm
/
clip.c
diff --git
a/net/atm/clip.c
b/net/atm/clip.c
index
47fbdc0
..
df7d218
100644
(file)
--- a/
net/atm/clip.c
+++ b/
net/atm/clip.c
@@
-285,7
+285,7
@@
static int clip_constructor(struct neighbour *neigh)
struct neigh_parms *parms;
pr_debug("clip_constructor (neigh %p, entry %p)\n", neigh, entry);
- neigh->type = inet_addr_type(entry->ip);
+ neigh->type = inet_addr_type(
&init_net,
entry->ip);
if (neigh->type != RTN_UNICAST)
return -EINVAL;