net: add inet_sk_transparent() helper
commitb1f0a0e99c58fbd7ea053ca36ba623718272b618
authorFlorian Westphal <fw@strlen.de>
Mon, 21 Dec 2015 20:29:24 +0000 (21 21:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Dec 2015 22:03:05 +0000 (22 17:03 -0500)
tree17c6d02cc97346088f6c5675234b69a485335a36
parentf4cee3af0dedf3270e6d615d772e3fbfa3200769
net: add inet_sk_transparent() helper

Avoids cluttering tcp_v4_send_reset when followup patch extends
it to deal with timewait sockets.

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/request_sock.h
include/net/tcp.h