]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitee92d37861a90b8f14fa621ae5abcfb29a89aaa9
treeead832fad372e9802d51914ebd6a8f3ce8edd4ce
parent24b36f0193467fa727b85b4c004016a8dae999b9
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