diff options
author | 2017-01-05 11:10:13 +0100 | |
---|---|---|
committer | 2017-01-05 11:39:53 -0500 | |
commit | 5e6eb456983c994a8e582127a300b6552e5a1768 (patch) | |
tree | 1f6035af46acee5fd57c272f5d56b199ac497c64 /drivers/net/virtio_net.c | |
parent | net:mv88e6xxx: use g2 interrupt for 6097 chip (diff) | |
download | wireguard-linux-5e6eb456983c994a8e582127a300b6552e5a1768.tar.xz wireguard-linux-5e6eb456983c994a8e582127a300b6552e5a1768.zip |
net:dsa: check for EPROBE_DEFER from dsa_dst_parse()
Since there can be multiple dsa switches stacked together but
not all of devicetree nodes available at the time of calling
dsa_dst_parse(), EPROBE_DEFER can be returned by it. When this
happens, only the last dsa switch has to be deleted by
dsa_dst_del_ds(), but not the whole list, because next time linux
cames back to this function it will try to add only the last dsa
switch which returned EPROBE_DEFER.
Signed-off-by: Volodymyr Bendiuga <volodymyr.bendiuga@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions