OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
178709b
)
qeth: Convert over to dst_neigh_lookup_skb().
author
David S. Miller
<davem@davemloft.net>
Tue, 3 Jul 2012 05:02:33 +0000
(22:02 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 5 Jul 2012 08:09:43 +0000
(
01:09
-0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c
patch
|
blob
|
history
diff --git
a/drivers/s390/net/qeth_l3_main.c
b/drivers/s390/net/qeth_l3_main.c
index
7be5e97
..
73ac63d
100644
(file)
--- 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)
rcu_read_lock();
dst = skb_dst(skb);
if (dst)
- n = dst_
get_neighbour_noref(dst
);
+ n = dst_
neigh_lookup_skb(dst, skb
);
if (n) {
cast_type = n->type;
rcu_read_unlock();
+ neigh_release(n);
if ((cast_type == RTN_BROADCAST) ||
(cast_type == RTN_MULTICAST) ||
(cast_type == RTN_ANYCAST))