diff options
| author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-03-27 12:00:42 +0100 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-03-29 21:58:55 -0700 | 
| commit | b8f14878e6ae210cad4025bfc97dca877b4df721 (patch) | |
| tree | eeb1b0bc3f7ae0d3d34d8ce7f4d92c7733127af8 /drivers/s390 | |
| parent | a08e7fd9123d85dfdf8d1dc61dbe321c8359d25f (diff) | |
| download | linux-b8f14878e6ae210cad4025bfc97dca877b4df721.tar.bz2 | |
s390/qeth: support net namespaces for L3 devices
Enable the L3 driver's IPv4 address notifier to watch for events on qeth
devices that have been moved into a net namespace. We need to program
those IPs into the HW just as usual, otherwise inbound traffic won't
flow.
Fixes: 6133fb1aa137 ("[NETNS]: Disable inetaddr notifiers in namespaces other than initial.")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
| -rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index b48cd0df3e31..0742a749d26e 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c @@ -2195,9 +2195,6 @@ static int qeth_l3_ip_event(struct notifier_block *this,  	struct qeth_ipaddr addr;  	struct qeth_card *card; -	if (dev_net(dev) != &init_net) -		return NOTIFY_DONE; -  	card = qeth_l3_get_card_from_dev(dev);  	if (!card)  		return NOTIFY_DONE; |