diff options
author | 2017-06-17 10:42:24 -0700 | |
---|---|---|
committer | 2017-06-17 22:53:59 -0400 | |
commit | 1758fd4688eb92c796e75bdb1d256dc558ef9581 (patch) | |
tree | 3d4aab23a22af1426d5fdea0bed238fa2f255caf /net/core/dst.c | |
parent | Merge tag 'mlx5-updates-2017-06-16' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff) | |
download | linux-rng-1758fd4688eb92c796e75bdb1d256dc558ef9581.tar.xz linux-rng-1758fd4688eb92c796e75bdb1d256dc558ef9581.zip |
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/core/dst.c')
0 files changed, 0 insertions, 0 deletions