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
@@ -731,7 +731,7 @@ static netdev_tx_t ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev
|
||||
}
|
||||
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
|
||||
else if (skb->protocol == htons(ETH_P_IPV6)) {
|
||||
struct neighbour *neigh = dst_get_neighbour(skb_dst(skb));
|
||||
struct neighbour *neigh = dst_get_neighbour_noref(skb_dst(skb));
|
||||
const struct in6_addr *addr6;
|
||||
int addr_type;
|
||||
|
||||
|
Reference in New Issue
Block a user