net: add sk_fullsock() helper

[ Upstream commit 1d0ab25387 ]

We have many places where we want to check if a socket is
not a timewait or request socket. Use a helper to avoid
hard coding this.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Eric Dumazet 2015-03-15 21:12:12 -07:00 • committed by Sasha Levin
commit 2ed8cb3d22