Re: [PATCH net] tcp: remove buggy call to tcp_v6_restore_cb()

2017-11-30 Thread David Miller
From: Eric Dumazet Date: Wed, 29 Nov 2017 17:43:57 -0800 > From: Eric Dumazet > > 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

Re: [PATCH net] tcp: remove buggy call to tcp_v6_restore_cb()

2017-11-30 Thread Florian Westphal
Eric Dumazet wrote: > From: Eric Dumazet > > 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 Indeed, thanks for fixing this up. Acked-by: Florian Westphal

[PATCH net] tcp: remove buggy call to tcp_v6_restore_cb()

2017-11-29 Thread Eric Dumazet
From: Eric Dumazet 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 patc