aboutsummaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
Diffstat (limited to 'net/key')
-rw-r--r--net/key/af_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index e5d595a60921..449a5d03e283 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)))