[NETFILTER]: ctnetlink: avoid unneccessary event message generation
authorPatrick McHardy <kaber@trash.net>
Tue, 21 Mar 2006 02:03:59 +0000 (18:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 02:03:59 +0000 (18:03 -0800)
commita24276924875802853b5bdc12c56d29f1c1bbc79
tree5725689bf434004143ae875bbfee3d3d29ddcdb0
parentc4b885139203d37f76662c37ae645fe8e0f4e4e5
[NETFILTER]: ctnetlink: avoid unneccessary event message generation

Avoid unneccessary event message generation by checking for netlink
listeners before building a message.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nfnetlink.h
net/ipv4/netfilter/ip_conntrack_netlink.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nfnetlink.c