commit | b9caa98c5135774dae232843ecef3c487c36a7a0 | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | Fri Mar 09 18:13:01 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 09 13:10:05 2018 -0500 |
tree | 814ebb3d64aa2ccbee78ecefea926aa5cc67387a | |
parent | d66b1c0df3f19812a6edb69fa35a1db01a2251d5 [diff] |
s390/qeth: simplify card look-up on IP notification On an IP event, current code tries to determine if the netdev belongs to a L3 card by walking all qeth cards in the system, and then all of their VLAN devices too. Short-cut the whole thing by identifying a L3 device through its netdev_ops. Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>