ipv6: avoid a dst_entry refcount change in ipv6_destopt_rcv()
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 28 Jul 2011 04:00:35 +0000 (04:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2011 07:12:00 +0000 (00:12 -0700)
commit897dc80b951e996ba4d26c0038e81a505b92aec1
tree867cca9dafcf3d89fa30a04a254a2d1cc3220cba
parentd14730b8e9117c9b77aacd391c049b50163e9b61
ipv6: avoid a dst_entry refcount change in ipv6_destopt_rcv()

ipv6_destopt_rcv() runs with rcu_read_lock(), so there is no need to
take a temporay reference on dst_entry, even if skb is freed by
ip6_parse_tlv()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/exthdrs.c