net: Rename dst_get_neighbour{, _raw} to dst_get_neighbour_noref{, _raw}.
To reflect the fact that a refrence is not obtained to the resulting neighbour entry. Signed-off-by: David S. Miller <davem@davemloft.net> Acked-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:

committed by
David S. Miller

parent
761965eab3
commit
2721745501
@@ -680,7 +680,7 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb,
|
||||
struct neighbour *neigh = NULL;
|
||||
|
||||
if (skb_dst(skb))
|
||||
neigh = dst_get_neighbour(skb_dst(skb));
|
||||
neigh = dst_get_neighbour_noref(skb_dst(skb));
|
||||
|
||||
if (neigh == NULL) {
|
||||
if (net_ratelimit())
|
||||
@@ -705,7 +705,7 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb,
|
||||
struct neighbour *neigh = NULL;
|
||||
|
||||
if (skb_dst(skb))
|
||||
neigh = dst_get_neighbour(skb_dst(skb));
|
||||
neigh = dst_get_neighbour_noref(skb_dst(skb));
|
||||
|
||||
if (neigh == NULL) {
|
||||
if (net_ratelimit())
|
||||
|
Reference in New Issue
Block a user