diff options
author | Eric Dumazet <[email protected]> | 2015-11-05 11:34:06 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-11-05 14:36:09 -0500 |
commit | f668f5f7e0861087ef9d64d473a9c1399fc25471 (patch) | |
tree | 1c8d2a2a9ac34b6b5340a1d102288c7f1aa33e22 /net/unix/af_unix.c | |
parent | 805c4bc05705fb2b71ec970960b456eee9900953 (diff) |
ipv4: use sk_fullsock() in ipv4_conntrack_defrag()
Before converting a 'socket pointer' into inet socket,
use sk_fullsock() to detect timewait or request sockets.
Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener")
Signed-off-by: Eric Dumazet <[email protected]>
Reported-by: Dmitry Vyukov <[email protected]>
Tested-by: Dmitry Vyukov <[email protected]>
Cc: Pablo Neira Ayuso <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions