diff -drupN a/net/ipv6/esp6.c b/net/ipv6/esp6.c --- a/net/ipv6/esp6.c 2018-08-06 17:23:04.000000000 +0300 +++ b/net/ipv6/esp6.c 2022-06-12 05:28:14.000000000 +0300 @@ -478,9 +478,10 @@ static int esp6_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;