[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151012.194621.63549236255212434.davem@davemloft.net>
Date: Mon, 12 Oct 2015 19:46:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, willemb@...gle.com
Subject: Re: [PATCH net-next] tun: use sk_fullsock() before reading
sk->sk_tsflags
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 09 Oct 2015 15:42:21 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> timewait or request sockets are small and do not contain sk->sk_tsflags
>
> Without this fix, we might read garbage, and crash later in
>
> __skb_complete_tx_timestamp()
> -> sock_queue_err_skb()
>
> (These pseudo sockets do not have an error queue either)
>
> Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists