mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
netns xfrm: state lookup in netns
Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
0e6024519b
commit
221df1ed33
12 changed files with 38 additions and 34 deletions
|
|
@ -683,7 +683,7 @@ static struct xfrm_state *pfkey_xfrm_state_lookup(struct sadb_msg *hdr, void **
|
|||
if (!xaddr)
|
||||
return NULL;
|
||||
|
||||
return xfrm_state_lookup(xaddr, sa->sadb_sa_spi, proto, family);
|
||||
return xfrm_state_lookup(&init_net, xaddr, sa->sadb_sa_spi, proto, family);
|
||||
}
|
||||
|
||||
#define PFKEY_ALIGN8(a) (1 + (((a) - 1) | (8 - 1)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue