diff options
author | Alexey Dobriyan | 2008-11-26 02:15:16 +0100 |
---|---|---|
committer | David S. Miller | 2008-11-26 02:15:16 +0100 |
commit | 673c09be457bb23aa0eaaa79804cbb342210d195 (patch) | |
tree | 9948d1859bbcd07316f5cea239b86845d6061570 /net/ipv6/af_inet6.c | |
parent | netns xfrm: add netns boilerplate (diff) | |
download | kernel-qcow2-linux-673c09be457bb23aa0eaaa79804cbb342210d195.tar.gz kernel-qcow2-linux-673c09be457bb23aa0eaaa79804cbb342210d195.tar.xz kernel-qcow2-linux-673c09be457bb23aa0eaaa79804cbb342210d195.zip |
netns xfrm: add struct xfrm_state::xs_net
To avoid unnecessary complications with passing netns around.
* set once, very early after allocating
* once set, never changes
For a while create every xfrm_state in init_net.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/af_inet6.c')
0 files changed, 0 insertions, 0 deletions