]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: consolidate L3 mcast registration code
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 14 Nov 2019 10:19:21 +0000 (11:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Nov 2019 02:16:51 +0000 (18:16 -0800)
commitd6a8b5badfd6c0797dcff28f024d1480cb5a48ec
treedb483113b961ac47c36d990dac30d1c106c5b8b4
parent9f5770a011da46bd404f7d82f38f310f27e91ae9
s390/qeth: consolidate L3 mcast registration code

Current code processes each (VLAN) device twice - once to inspect the
IPv4 mcast addresses, and then a second time to walk the IPv6 mcast
addresses. Unify all this into a single helper, thus removing some
checks and a duplicated VLAN lookup.

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