diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2018-03-09 18:13:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-09 13:10:05 -0500 |
commit | b9caa98c5135774dae232843ecef3c487c36a7a0 (patch) | |
tree | 814ebb3d64aa2ccbee78ecefea926aa5cc67387a /drivers/s390/net/qeth_l3_sys.c | |
parent | d66b1c0df3f19812a6edb69fa35a1db01a2251d5 (diff) | |
download | linux-stable-b9caa98c5135774dae232843ecef3c487c36a7a0.tar.gz linux-stable-b9caa98c5135774dae232843ecef3c487c36a7a0.tar.bz2 linux-stable-b9caa98c5135774dae232843ecef3c487c36a7a0.zip |
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>
Diffstat (limited to 'drivers/s390/net/qeth_l3_sys.c')
0 files changed, 0 insertions, 0 deletions