Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172150
b: refs/heads/master
c: dee5817
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy committed Nov 6, 2009
1 parent 3133d84 commit 7d35f11
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 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: 76ac894080019c6619d3c3bf615db42a43a77f32
refs/heads/master: dee5817e88ac8195e5938d6671f434a071e35698
3 changes: 1 addition & 2 deletions trunk/net/ipv4/netfilter/ip_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,7 @@ ipq_rcv_nl_event(struct notifier_block *this,
{
struct netlink_notify *n = ptr;

if (event == NETLINK_URELEASE &&
n->protocol == NETLINK_FIREWALL && n->pid) {
if (event == NETLINK_URELEASE && n->protocol == NETLINK_FIREWALL) {
write_lock_bh(&queue_lock);
if ((n->net == &init_net) && (n->pid == peer_pid))
__ipq_reset();
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/ipv6/netfilter/ip6_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,7 @@ ipq_rcv_nl_event(struct notifier_block *this,
{
struct netlink_notify *n = ptr;

if (event == NETLINK_URELEASE &&
n->protocol == NETLINK_IP6_FW && n->pid) {
if (event == NETLINK_URELEASE && n->protocol == NETLINK_IP6_FW) {
write_lock_bh(&queue_lock);
if ((n->net == &init_net) && (n->pid == peer_pid))
__ipq_reset();
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/netfilter/nfnetlink_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,7 @@ nfulnl_rcv_nl_event(struct notifier_block *this,
{
struct netlink_notify *n = ptr;

if (event == NETLINK_URELEASE &&
n->protocol == NETLINK_NETFILTER && n->pid) {
if (event == NETLINK_URELEASE && n->protocol == NETLINK_NETFILTER) {
int i;

/* destroy all instances for this pid */
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/netfilter/nfnetlink_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,7 @@ nfqnl_rcv_nl_event(struct notifier_block *this,
{
struct netlink_notify *n = ptr;

if (event == NETLINK_URELEASE &&
n->protocol == NETLINK_NETFILTER && n->pid) {
if (event == NETLINK_URELEASE && n->protocol == NETLINK_NETFILTER) {
int i;

/* destroy all instances for this pid */
Expand Down

0 comments on commit 7d35f11

Please sign in to comment.