net: add __must_check to sk_add_backlog
commitcb63112d399b25ce7e4a5d84065f342b978cd9a4
authorZhu Yi <yi.zhu@intel.com>
Sun, 7 Mar 2010 16:21:39 +0000 (7 16:21 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:02:05 +0000 (1 16:02 -0700)
treed05bb9fc21ea524a91be4c463ee41a34df79389b
parenta12a9a26ff389892df27e2ff4cbf03e5b2ed0d64
net: add __must_check to sk_add_backlog

[ Upstream commit 4045635318538d3ddd2007720412fdc4b08f6a62 ]

Add the "__must_check" tag to sk_add_backlog() so that any failure to
check and drop packets will be warned about.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/net/sock.h