mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
[NETFILTER]: Replace sk_buff ** with sk_buff *
With all the users of the double pointers removed, this patch mops up by finally replacing all occurances of sk_buff ** in the netfilter API by sk_buff *. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2ca7b0ac02
commit
3db05fea51
115 changed files with 915 additions and 951 deletions
|
@ -80,7 +80,7 @@ static int xfrm6_output_finish2(struct sk_buff *skb)
|
|||
while (likely((err = xfrm6_output_one(skb)) == 0)) {
|
||||
nf_reset(skb);
|
||||
|
||||
err = nf_hook(PF_INET6, NF_IP6_LOCAL_OUT, &skb, NULL,
|
||||
err = nf_hook(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL,
|
||||
skb->dst->dev, dst_output);
|
||||
if (unlikely(err != 1))
|
||||
break;
|
||||
|
@ -88,7 +88,7 @@ static int xfrm6_output_finish2(struct sk_buff *skb)
|
|||
if (!skb->dst->xfrm)
|
||||
return dst_output(skb);
|
||||
|
||||
err = nf_hook(PF_INET6, NF_IP6_POST_ROUTING, &skb, NULL,
|
||||
err = nf_hook(PF_INET6, NF_IP6_POST_ROUTING, skb, NULL,
|
||||
skb->dst->dev, xfrm6_output_finish2);
|
||||
if (unlikely(err != 1))
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue