]> git.baikalelectronics.ru Git - kernel.git/commit
net: add sk_fullsock() helper
authorEric Dumazet <edumazet@google.com>
Mon, 16 Mar 2015 04:12:12 +0000 (21:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2015 19:55:28 +0000 (15:55 -0400)
commitddef1fe80c5a0cb39726aab2fe39ebd1b495a40e
treecc2d3e7f9017862044066bb8fa458944c05c4ff3
parent708720eb8685b76578c7e4f56498e66a65ae39b0
net: add sk_fullsock() helper

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