]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: don't cache MAC addresses for multicast IPs
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 31 Oct 2019 12:42:21 +0000 (13:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 19:32:59 +0000 (12:32 -0700)
commit54f6f162ba954bb433fb5400cd9bb3ace9a9c04f
tree2d749f256f1b1996ac81c4241e9499b89c5154b1
parent00218453fb34b6b5ea2573834cf2356e4c4b52af
s390/qeth: don't cache MAC addresses for multicast IPs

Instead of storing the multicast-mapped MAC address in an IP address
object, just calculate the MAC address when actually building a cmd
for the IP address.

While at it, also clean up some rather verbose copying of IP addresses.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_mpc.h
drivers/s390/net/qeth_l3.h
drivers/s390/net/qeth_l3_main.c