diff options
author | David Miller <davem@davemloft.net> | 2011-12-02 11:52:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-05 15:20:19 -0500 |
commit | 2721745501a26d0dc3b88c0d2f3aa11471891388 (patch) | |
tree | e9c09622b11ad7d9317b4b01824374a852867c28 /net/ipv6/sit.c | |
parent | 761965eab38d2cbc59c36e355c59609e3a04705a (diff) |
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>
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r-- | net/ipv6/sit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index 50968f226e75..b7d14cc12ee8 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c | |||
@@ -680,7 +680,7 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb, | |||
680 | struct neighbour *neigh = NULL; | 680 | struct neighbour *neigh = NULL; |
681 | 681 | ||
682 | if (skb_dst(skb)) | 682 | if (skb_dst(skb)) |
683 | neigh = dst_get_neighbour(skb_dst(skb)); | 683 | neigh = dst_get_neighbour_noref(skb_dst(skb)); |
684 | 684 | ||
685 | if (neigh == NULL) { | 685 | if (neigh == NULL) { |
686 | if (net_ratelimit()) | 686 | if (net_ratelimit()) |
@@ -705,7 +705,7 @@ static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb, | |||
705 | struct neighbour *neigh = NULL; | 705 | struct neighbour *neigh = NULL; |
706 | 706 | ||
707 | if (skb_dst(skb)) | 707 | if (skb_dst(skb)) |
708 | neigh = dst_get_neighbour(skb_dst(skb)); | 708 | neigh = dst_get_neighbour_noref(skb_dst(skb)); |
709 | 709 | ||
710 | if (neigh == NULL) { | 710 | if (neigh == NULL) { |
711 | if (net_ratelimit()) | 711 | if (net_ratelimit()) |