diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 20:30:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 20:30:50 -0500 |
commit | 221df1ed33c9284fc7a6f6e47ca7f8d5f3665d43 (patch) | |
tree | 1961ab9f9061b595e10449a24e7275d91f422de2 /net/key | |
parent | 0e6024519b4da2d9413b97be1de8122d5709ccc1 (diff) |
netns xfrm: state lookup in netns
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key')
-rw-r--r-- | net/key/af_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c index e5d595a6092..449a5d03e28 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c | |||
@@ -683,7 +683,7 @@ static struct xfrm_state *pfkey_xfrm_state_lookup(struct sadb_msg *hdr, void ** | |||
683 | if (!xaddr) | 683 | if (!xaddr) |
684 | return NULL; | 684 | return NULL; |
685 | 685 | ||
686 | return xfrm_state_lookup(xaddr, sa->sadb_sa_spi, proto, family); | 686 | return xfrm_state_lookup(&init_net, xaddr, sa->sadb_sa_spi, proto, family); |
687 | } | 687 | } |
688 | 688 | ||
689 | #define PFKEY_ALIGN8(a) (1 + (((a) - 1) | (8 - 1))) | 689 | #define PFKEY_ALIGN8(a) (1 + (((a) - 1) | (8 - 1))) |