Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90271
b: refs/heads/master
c: 0be43f8
h: refs/heads/master
i:
  90269: 4196d29
  90267: e1ca933
  90263: 1f85673
  90255: 2d3c62d
  90239: 7dbee9e
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Mar 24, 2008
1 parent dda0fd5 commit 5e7637d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 05cf89d40c85e622dac20e44713168767be5c520
refs/heads/master: 0be43f82c4f4c4a999b53cf794513f7f1a4ed7f3
8 changes: 8 additions & 0 deletions trunk/net/netfilter/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,14 @@ int nf_hook_slow(int pf, unsigned int hook, struct sk_buff *skb,
unsigned int verdict;
int ret = 0;

#ifdef CONFIG_NET_NS
struct net *net;

net = indev == NULL ? outdev->nd_net : indev->nd_net;
if (net != &init_net)
return 1;
#endif

/* We may already have this, but read-locks nest anyway */
rcu_read_lock();

Expand Down

0 comments on commit 5e7637d

Please sign in to comment.