]> 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)
commitfcc98b82d4132e5a321c1f4deddd13c08624a0d1
treecc2d3e7f9017862044066bb8fa458944c05c4ff3
parent7b18858fbf803f9bc4922d5def7a27eb1aba5b4a
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