aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSoheil Hassas Yeganeh <[email protected]>2017-06-02 12:38:22 -0400
committerDavid S. Miller <[email protected]>2017-06-04 20:01:53 -0400
commit38b257938ac6655d0d6333743303231b9c465ec1 (patch)
treeddd35c10ba411c39ac7cf0f39857bd00b4b62ad2 /tools/perf/scripts/python
parenta7c0b8bee212e22725196fda8389bff9ade3ac68 (diff)
sock: reset sk_err when the error queue is empty
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]> Tested-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]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions