]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita083dd9d4ca8e6cf09fc938eb552d3542e5850c7
tree140ba166a2754f46f9205b38b6feff866a571ecd
parenta72418ffd40494fe1bed805cddadacb1363e2a9a
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