diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/core/neighbour.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c index ce2b77515a9e..8be82a7f0e0f 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c | |||
@@ -2850,7 +2850,7 @@ static void neigh_proc_update(struct ctl_table *ctl, int write) | |||
2850 | { | 2850 | { |
2851 | struct net_device *dev = ctl->extra1; | 2851 | struct net_device *dev = ctl->extra1; |
2852 | struct neigh_parms *p = ctl->extra2; | 2852 | struct neigh_parms *p = ctl->extra2; |
2853 | struct net *net = p->net; | 2853 | struct net *net = neigh_parms_net(p); |
2854 | int index = (int *) ctl->data - p->data; | 2854 | int index = (int *) ctl->data - p->data; |
2855 | 2855 | ||
2856 | if (!write) | 2856 | if (!write) |