diff options
| author | 2008-06-25 12:30:54 +0200 | |
|---|---|---|
| committer | 2008-06-25 12:30:54 +0200 | |
| commit | 0ed368c71aa65cba8d349432bd4dab4a9a2eb39c (patch) | |
| tree | 7746534bafd57f6764bda8f26efc3929a4acf914 /net/core/net_namespace.c | |
| parent | Merge branch 'linus' into x86/kconfig (diff) | |
| parent | Linux 2.6.26-rc8 (diff) | |
| download | linux-dev-0ed368c71aa65cba8d349432bd4dab4a9a2eb39c.tar.xz linux-dev-0ed368c71aa65cba8d349432bd4dab4a9a2eb39c.zip | |
Merge branch 'linus' into x86/kconfig
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); |
