em_ipset: use dev_net() accessor
authorstephen hemminger <stephen@networkplumber.org>
Thu, 17 Oct 2013 00:29:34 +0000 (17:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 20:23:06 +0000 (16:23 -0400)
commitb1eda2ac3fa6bf23b27c7c70eda6885124c79ed3
tree140ba166a2754f46f9205b38b6feff866a571ecd
parent675297c904b419542a93de64afaf2a6bd72e35e3
em_ipset: use dev_net() accessor

Randy found that if network namespace not enabled then
nd_net does not exist and would cause compilation failure.

This is handled correctly by using the dev_net() macro.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/em_ipset.c