diff options
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index 7be5e9775691..73ac63d901c9 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c | |||
@@ -2700,10 +2700,11 @@ int inline qeth_l3_get_cast_type(struct qeth_card *card, struct sk_buff *skb) | |||
2700 | rcu_read_lock(); | 2700 | rcu_read_lock(); |
2701 | dst = skb_dst(skb); | 2701 | dst = skb_dst(skb); |
2702 | if (dst) | 2702 | if (dst) |
2703 | n = dst_get_neighbour_noref(dst); | 2703 | n = dst_neigh_lookup_skb(dst, skb); |
2704 | if (n) { | 2704 | if (n) { |
2705 | cast_type = n->type; | 2705 | cast_type = n->type; |
2706 | rcu_read_unlock(); | 2706 | rcu_read_unlock(); |
2707 | neigh_release(n); | ||
2707 | if ((cast_type == RTN_BROADCAST) || | 2708 | if ((cast_type == RTN_BROADCAST) || |
2708 | (cast_type == RTN_MULTICAST) || | 2709 | (cast_type == RTN_MULTICAST) || |
2709 | (cast_type == RTN_ANYCAST)) | 2710 | (cast_type == RTN_ANYCAST)) |