OSDN Git Service

s390/qeth: support net namespaces for L3 devices
authorJulian Wiedmann <jwi@linux.ibm.com>
Fri, 27 Mar 2020 11:00:42 +0000 (12:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 04:58:55 +0000 (21:58 -0700)
commitb8f14878e6ae210cad4025bfc97dca877b4df721
treeeeb1b0bc3f7ae0d3d34d8ce7f4d92c7733127af8
parenta08e7fd9123d85dfdf8d1dc61dbe321c8359d25f
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>
drivers/s390/net/qeth_l3_main.c