Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131203
b: refs/heads/master
c: 1f9da25
h: refs/heads/master
i:
  131201: 84585d2
  131199: 1ad79ab
v: v3
  • Loading branch information
Pablo Neira Ayuso authored and David S. Miller committed Feb 9, 2009
1 parent 78e9d62 commit 9c4e250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c969aa7d2cd5621ad4129dae6b6551af422944c6
refs/heads/master: 1f9da256163e3ff91a12d0b861091f0e525139df
5 changes: 3 additions & 2 deletions trunk/net/netfilter/nf_conntrack_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ static int ctnetlink_conntrack_event(struct notifier_block *this,
} else
return NOTIFY_DONE;

if (!nfnetlink_has_listeners(group))
if (!item->report && !nfnetlink_has_listeners(group))
return NOTIFY_DONE;

skb = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC);
Expand Down Expand Up @@ -1502,7 +1502,8 @@ static int ctnetlink_expect_event(struct notifier_block *this,
} else
return NOTIFY_DONE;

if (!nfnetlink_has_listeners(NFNLGRP_CONNTRACK_EXP_NEW))
if (!item->report &&
!nfnetlink_has_listeners(NFNLGRP_CONNTRACK_EXP_NEW))
return NOTIFY_DONE;

skb = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC);
Expand Down

0 comments on commit 9c4e250

Please sign in to comment.