diff options
author | Denis V. Lunev <den@openvz.org> | 2008-02-29 05:46:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 05:46:17 +0100 |
commit | 6133fb1aa137b35a8fa91ec17977ebf6a41456ec (patch) | |
tree | 5bd2411fa97f9712f25ee95053a242db025b209c /drivers/s390 | |
parent | [NETFILTER]: Consolidate masq_inet_event and masq_device_event. (diff) | |
download | linux-6133fb1aa137b35a8fa91ec17977ebf6a41456ec.tar.xz linux-6133fb1aa137b35a8fa91ec17977ebf6a41456ec.zip |
[NETNS]: Disable inetaddr notifiers in namespaces other than initial.
ip_fib_init is kept enabled. It is already namespace-aware.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c index 62606ce26e55..d063e9ecf804 100644 --- a/drivers/s390/net/qeth_main.c +++ b/drivers/s390/net/qeth_main.c @@ -8622,6 +8622,9 @@ qeth_ip_event(struct notifier_block *this, struct qeth_ipaddr *addr; struct qeth_card *card; + if (dev->nd_net != &init_net) + return NOTIFY_DONE; + QETH_DBF_TEXT(trace,3,"ipevent"); card = qeth_get_card_from_dev(dev); if (!card) |