]> 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)
commit673a1f024fa7297c46a7d42ffa0f354d860ef989
tree2d749f256f1b1996ac81c4241e9499b89c5154b1
parent35f2b952bb3a9c56f339545b9527644adef5ec13
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