mirror of https://github.com/OpenIPC/firmware.git
17 lines
566 B
Diff
17 lines
566 B
Diff
diff -drupN a/net/ipv6/ip6_vti.c b/net/ipv6/ip6_vti.c
|
|
--- a/net/ipv6/ip6_vti.c 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/net/ipv6/ip6_vti.c 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -616,9 +616,10 @@ static int vti6_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;
|