aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/s390/net/qeth_l3_main.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-05-06 10:09:41 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-06 14:11:25 -0700
commit0d49c06bcfc29042306814a2199b7996dbf1ecb0 (patch)
treea86761db0de25ecb4cb0dd03f1328e55576618d6 /drivers/s390/net/qeth_l3_main.c
parents390/qeth: keep track of LP2LP capability for csum offload (diff)
downloadwireguard-linux-0d49c06bcfc29042306814a2199b7996dbf1ecb0.tar.xz
wireguard-linux-0d49c06bcfc29042306814a2199b7996dbf1ecb0.zip
s390/qeth: process local address events
In configurations where specific HW offloads are in use, OSA adapters will raise notifications to their virtual devices about the IP addresses that currently reside on the same adapter. Cache these addresses in two RCU-enabled hash tables, and flush the tables once the relevant HW offload(s) get disabled. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/s390/net/qeth_l3_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c
index 0742a749d26e..fec4ac41e946 100644
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -1176,6 +1176,7 @@ static void qeth_l3_stop_card(struct qeth_card *card)
qeth_qdio_clear_card(card, 0);
qeth_clear_working_pool_list(card);
flush_workqueue(card->event_wq);
+ qeth_flush_local_addrs(card);
card->info.promisc_mode = 0;
}