net: use sk_fullsock() in __netdev_pick_tx()
authorEric Dumazet <edumazet@google.com>
Mon, 5 Oct 2015 04:08:10 +0000 (21:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 09:45:25 +0000 (02:45 -0700)
commit004a5d0140ce1d05c1f5fce5df4baa2717a330e0
treed6d52b7f3a13ed734e499be05cb4eeaab47ba4da
parente7eadb4de9e645e1b34539dc4128240b1e5f71dc
net: use sk_fullsock() in __netdev_pick_tx()

SYN_RECV & TIMEWAIT sockets are not full blown, they do not have a
sk_dst_cache pointer.

Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/request_sock.h
net/core/dev.c