diff options
author | 2017-11-29 17:43:57 -0800 | |
---|---|---|
committer | 2017-11-30 10:21:44 -0500 | |
commit | 3016dad75b48279e579117ee3ed566ba90a3b023 (patch) | |
tree | 4c2a36224dedf6c03780dbfd5c33c9b7f8ff19e0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | act_sample: get rid of tcf_sample_cleanup_rcu() (diff) | |
download | wireguard-linux-3016dad75b48279e579117ee3ed566ba90a3b023.tar.xz wireguard-linux-3016dad75b48279e579117ee3ed566ba90a3b023.zip |
tcp: remove buggy call to tcp_v6_restore_cb()
tcp_v6_send_reset() expects to receive an skb with skb->cb[] layout as
used in TCP stack.
MD5 lookup uses tcp_v6_iif() and tcp_v6_sdif() and thus
TCP_SKB_CB(skb)->header.h6
This patch probably fixes RST packets sent on behalf of a timewait md5
ipv6 socket.
Before Florian patch, tcp_v6_restore_cb() was needed before jumping to
no_tcp_socket label.
Fixes: 271c3b9b7bda ("tcp: honour SO_BINDTODEVICE for TW_RST case too")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Florian Westphal <fw@strlen.de>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions