firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-net_ipv6_ah6.c.patch

17 lines
549 B
Diff

diff -drupN a/net/ipv6/ah6.c b/net/ipv6/ah6.c
--- a/net/ipv6/ah6.c 2018-08-06 17:23:04.000000000 +0300
+++ b/net/ipv6/ah6.c 2022-06-12 05:28:14.000000000 +0300
@@ -666,9 +666,10 @@ static int ah6_err(struct sk_buff *skb,
return 0;
if (type == NDISC_REDIRECT)
- ip6_redirect(skb, net, skb->dev->ifindex, 0);
+ ip6_redirect(skb, net, skb->dev->ifindex, 0,
+ sock_net_uid(net, NULL));
else
- ip6_update_pmtu(skb, net, info, 0, 0);
+ ip6_update_pmtu(skb, net, info, 0, 0, sock_net_uid(net, NULL));
xfrm_state_put(x);
return 0;