diff options
| author | 2008-06-25 12:36:55 +0200 | |
|---|---|---|
| committer | 2008-06-25 12:36:55 +0200 | |
| commit | f6477cc76c73833a56e97f1fafc36a7ca92927e5 (patch) | |
| tree | 9b4ca3d9fa63ea001d516834c8b2707094f3f711 /net/core/net_namespace.c | |
| parent | Merge branch 'linus' into x86/timers (diff) | |
| parent | Linux 2.6.26-rc8 (diff) | |
| download | linux-dev-f6477cc76c73833a56e97f1fafc36a7ca92927e5.tar.xz linux-dev-f6477cc76c73833a56e97f1fafc36a7ca92927e5.zip | |
Merge branch 'linus' into x86/timers
Diffstat (limited to 'net/core/net_namespace.c')
| -rw-r--r-- | net/core/net_namespace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 72b4c184dd84..7c52fe277b62 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -140,6 +140,9 @@ static void cleanup_net(struct work_struct *work) struct pernet_operations *ops; struct net *net; + /* Be very certain incoming network packets will not find us */ + rcu_barrier(); + net = container_of(work, struct net, work); mutex_lock(&net_mutex); |
