summaryrefslogtreecommitdiff
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorWei Wang <weiwan@google.com>2017-06-17 20:42:24 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-18 05:53:59 +0300
commit1758fd4688eb92c796e75bdb1d256dc558ef9581 (patch)
tree3d4aab23a22af1426d5fdea0bed238fa2f255caf /net/ipv6/udp.c
parent273889e306256e95ea55d5ebaef99310cf589def (diff)
downloadlinux-1758fd4688eb92c796e75bdb1d256dc558ef9581.tar.xz
ipv6: remove unnecessary dst_hold() in ip6_fragment()
In ipv6 tx path, rcu_read_lock() is taken so that dst won't get freed during the execution of ip6_fragment(). Hence, no need to hold dst in it. Signed-off-by: Wei Wang <weiwan@google.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions