mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
[IPSEC]: output mode to take an xfrm state as input param
Expose IPSEC modes output path to take an xfrm state as input param. This makes it consistent with the input mode processing (which already takes the xfrm state as a param). Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fda9ef5d67
commit
eb878e8457
8 changed files with 8 additions and 14 deletions
|
@ -65,7 +65,7 @@ static int xfrm6_output_one(struct sk_buff *skb)
|
|||
if (err)
|
||||
goto error;
|
||||
|
||||
err = x->mode->output(skb);
|
||||
err = x->mode->output(x, skb);
|
||||
if (err)
|
||||
goto error;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue