]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: add sk_fullsock() helper
authorEric Dumazet <edumazet@google.com>
Mon, 16 Mar 2015 04:12:12 +0000 (21:12 -0700)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 28 Jun 2015 17:39:21 +0000 (13:39 -0400)
commit2ed8cb3d22b59eda73c203412d02add4d0901255
tree415f78fb04ab6d686087c759308cac5945f8343c
parentbb5d5cc637187c20c0e1acadb472078363d83d84
net: add sk_fullsock() helper

[ Upstream commit 1d0ab253872cdd3d8e7913f59c266c7fd01771d0 ]

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>
include/net/sock.h