aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/net/qeth_l3_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c
index 0cf706699a04..c5f03fa70fba 100644
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -1758,6 +1758,8 @@ static void qeth_l3_free_vlan_addresses4(struct qeth_card *card,
1758 QETH_CARD_TEXT(card, 4, "frvaddr4"); 1758 QETH_CARD_TEXT(card, 4, "frvaddr4");
1759 1759
1760 netdev = __vlan_find_dev_deep(card->dev, vid); 1760 netdev = __vlan_find_dev_deep(card->dev, vid);
1761 if (!netdev)
1762 return;
1761 in_dev = in_dev_get(netdev); 1763 in_dev = in_dev_get(netdev);
1762 if (!in_dev) 1764 if (!in_dev)
1763 return; 1765 return;
@@ -1786,6 +1788,8 @@ static void qeth_l3_free_vlan_addresses6(struct qeth_card *card,
1786 QETH_CARD_TEXT(card, 4, "frvaddr6"); 1788 QETH_CARD_TEXT(card, 4, "frvaddr6");
1787 1789
1788 netdev = __vlan_find_dev_deep(card->dev, vid); 1790 netdev = __vlan_find_dev_deep(card->dev, vid);
1791 if (!netdev)
1792 return;
1789 in6_dev = in6_dev_get(netdev); 1793 in6_dev = in6_dev_get(netdev);
1790 if (!in6_dev) 1794 if (!in6_dev)
1791 return; 1795 return;