netns xfrm: add struct xfrm_policy::xp_net
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 26 Nov 2008 01:21:45 +0000 (17:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 01:21:45 +0000 (17:21 -0800)
commit0331b1f383e1fa4049f8e75cafeea8f006171c64
tree69409ab7c17e1527ed063bb4f2eda440e2cb4ea2
parent50a30657fd7ee77a94a6bf0ad86eba7c37c3032e
netns xfrm: add struct xfrm_policy::xp_net

Again, to avoid complications with passing netns when not necessary.
Again, ->xp_net is set-once field, once set it never changes.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_user.c