neigh: use neigh_parms_net() to get struct neigh_parms->net pointer
authorJiri Pirko <jiri@resnulli.us>
Tue, 10 Dec 2013 22:55:07 +0000 (23:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 22:58:44 +0000 (17:58 -0500)
commit77d47afbf3c58350c3708b609005358bbd33e085
tree8b5ce00b28f666863d0114d3d1893e4e30118c1b
parent10ae76faa97cb3e1020dcf2cdae6b1ea8359abab
neigh: use neigh_parms_net() to get struct neigh_parms->net pointer

This fixes compile error when CONFIG_NET_NS is not set.

Introduced by:
commit 1d4c8c29841b9991cdf3c7cc4ba7f96a94f104ca
    "neigh: restore old behaviour of default parms values"

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c