From: Soheil Hassas Yeganeh <[email protected]> Date: Fri, 2 Jun 2017 12:38:22 -0400
> From: Soheil Hassas Yeganeh <[email protected]> > > Prior to f5f99309fa74 (sock: do not set sk_err in > sock_dequeue_err_skb), sk_err was reset to the error of > the skb on the head of the error queue. > > Applications, most notably ping, are relying on this > behavior to reset sk_err for ICMP packets. > > Set sk_err to the ICMP error when there is an ICMP packet > at the head of the error queue. > > Fixes: f5f99309fa74 (sock: do not set sk_err in sock_dequeue_err_skb) > Reported-by: Cyril Hrubis <[email protected]> > Test-by: Cyril Hrubis <[email protected]> > Signed-off-by: Soheil Hassas Yeganeh <[email protected]> > Signed-off-by: Eric Dumazet <[email protected]> > Signed-off-by: Willem de Bruijn <[email protected]> Applied and queued up for -stable, thank you.
