]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_conntrack_extend: introduce __nf_ct_ext_exist()
authorChangli Gao <xiaosuo@gmail.com>
Mon, 2 Aug 2010 15:06:19 +0000 (17:06 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 2 Aug 2010 15:06:19 +0000 (17:06 +0200)
commit5a12b05d7a205bd09694b3e6420bb4c03c57c949
treeead832fad372e9802d51914ebd6a8f3ce8edd4ce
parentf2954ce97257ee1c6a3ba4a6e459765fcabc3726
netfilter: nf_conntrack_extend: introduce __nf_ct_ext_exist()

some users of nf_ct_ext_exist() know ct->ext isn't NULL. For these users, the
check for ct->ext isn't necessary, the function __nf_ct_ext_exist() can be
used instead.

the type of the return value of nf_ct_ext_exist() is changed to bool.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nf_conntrack_extend.h
net/netfilter/nf_conntrack_extend.c