diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-06-02 18:08:38 (GMT) |
---|---|---|
committer | pablo <pablo@1984.(none)> | 2009-06-02 18:08:38 (GMT) |
commit | 274d383b9c1906847a64bbb267b0183599ce86a0 (patch) | |
tree | c5a75eb38b79a05b11f25542ebad45c1c4c4410b /net/netfilter/nf_conntrack_netlink.c | |
parent | 03b64f518a893512d32f07a10b053e558beafcaf (diff) | |
download | linux-fsl-qoriq-274d383b9c1906847a64bbb267b0183599ce86a0.tar.xz |
netfilter: conntrack: don't report events on module removal
During the module removal there are no possible event listeners
since ctnetlink must be removed before to allow removing
nf_conntrack. This patch removes the event reporting for the
module removal case which is not of any use in the existing code.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_netlink.c')
-rw-r--r-- | net/netfilter/nf_conntrack_netlink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c index 58fde0e..3a20de1 100644 --- a/net/netfilter/nf_conntrack_netlink.c +++ b/net/netfilter/nf_conntrack_netlink.c @@ -777,9 +777,9 @@ ctnetlink_del_conntrack(struct sock *ctnl, struct sk_buff *skb, err = ctnetlink_parse_tuple(cda, &tuple, CTA_TUPLE_REPLY, u3); else { /* Flush the whole table */ - nf_conntrack_flush(&init_net, - NETLINK_CB(skb).pid, - nlmsg_report(nlh)); + nf_conntrack_flush_report(&init_net, + NETLINK_CB(skb).pid, + nlmsg_report(nlh)); return 0; } |