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 /drivers/s390/net | |
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 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index 63578925bc59..b2a55e3fde0b 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c | |||
@@ -2759,7 +2759,7 @@ int inline qeth_l3_get_cast_type(struct qeth_card *card, struct sk_buff *skb) | |||
2759 | rcu_read_lock(); | 2759 | rcu_read_lock(); |
2760 | dst = skb_dst(skb); | 2760 | dst = skb_dst(skb); |
2761 | if (dst) | 2761 | if (dst) |
2762 | n = dst_get_neighbour(dst); | 2762 | n = dst_get_neighbour_noref(dst); |
2763 | if (n) { | 2763 | if (n) { |
2764 | cast_type = n->type; | 2764 | cast_type = n->type; |
2765 | rcu_read_unlock(); | 2765 | rcu_read_unlock(); |
@@ -2855,7 +2855,7 @@ static void qeth_l3_fill_header(struct qeth_card *card, struct qeth_hdr *hdr, | |||
2855 | rcu_read_lock(); | 2855 | rcu_read_lock(); |
2856 | dst = skb_dst(skb); | 2856 | dst = skb_dst(skb); |
2857 | if (dst) | 2857 | if (dst) |
2858 | n = dst_get_neighbour(dst); | 2858 | n = dst_get_neighbour_noref(dst); |
2859 | if (ipv == 4) { | 2859 | if (ipv == 4) { |
2860 | /* IPv4 */ | 2860 | /* IPv4 */ |
2861 | hdr->hdr.l3.flags = qeth_l3_get_qeth_hdr_flags4(cast_type); | 2861 | hdr->hdr.l3.flags = qeth_l3_get_qeth_hdr_flags4(cast_type); |