Commit 1758fd4
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>1 parent 273889e commit 1758fd4
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
701 | | - | |
702 | | - | |
703 | 701 | | |
704 | 702 | | |
705 | 703 | | |
| |||
742 | 740 | | |
743 | 741 | | |
744 | 742 | | |
745 | | - | |
746 | 743 | | |
747 | 744 | | |
748 | 745 | | |
749 | 746 | | |
750 | 747 | | |
751 | 748 | | |
752 | 749 | | |
753 | | - | |
754 | 750 | | |
755 | 751 | | |
756 | 752 | | |
| |||
0 commit comments