]> asedeno.scripts.mit.edu Git - linux.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)
commit611abe5165ca185bb64e0427c7efe2acdc9d5250
treedb483113b961ac47c36d990dac30d1c106c5b8b4
parent32a186c7f9588c843c26a1f0fbbf38f77a7b577a
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