diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-03-25 19:57:35 +0100 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-03-25 20:40:00 +0100 |
commit | 878628fbf2589eb24357e42027d5f54b1dafd3c8 (patch) | |
tree | 30c109d8f337b3910e3b5364877c3c521dd700b5 /security | |
parent | [NET] NETNS: Omit neigh_parms->net and pneigh_entry->net without CONFIG_NET_NS. (diff) | |
download | linux-878628fbf2589eb24357e42027d5f54b1dafd3c8.tar.xz linux-878628fbf2589eb24357e42027d5f54b1dafd3c8.zip |
[NET] NETNS: Omit namespace comparision without CONFIG_NET_NS.
Introduce an inline net_eq() to compare two namespaces.
Without CONFIG_NET_NS, since no namespace other than &init_net
exists, it is always 1.
We do not need to convert 1) inline vs inline and
2) inline vs &init_net comparisons.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions