Skip to content

Commit b8f1487

Browse files
julianwiedmanndavem330
authored andcommitted
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: 6133fb1 ("[NETNS]: Disable inetaddr notifiers in namespaces other than initial.") Signed-off-by: Julian Wiedmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a08e7fd commit b8f1487

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/s390/net/qeth_l3_main.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,9 +2195,6 @@ static int qeth_l3_ip_event(struct notifier_block *this,
21952195
struct qeth_ipaddr addr;
21962196
struct qeth_card *card;
21972197

2198-
if (dev_net(dev) != &init_net)
2199-
return NOTIFY_DONE;
2200-
22012198
card = qeth_l3_get_card_from_dev(dev);
22022199
if (!card)
22032200
return NOTIFY_DONE;

0 commit comments

Comments
 (0)