diff --git a/net/core/skmsg.c b/net/core/skmsg.c index 8a0a23079d90..b3d675c3c1ec 100644 --- a/net/core/skmsg.c +++ b/net/core/skmsg.c @@ -672,7 +672,8 @@ static void sk_psock_backlog(struct work_struct *work) if (ret <= 0) { if (ret == -EAGAIN) { sk_psock_skb_state(psock, state, len, off); - + /* Restore redir info we cleared before */ + skb_bpf_set_redir(skb, psock->sk, ingress); /* Delay slightly to prioritize any * other work that might be here. */