diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2023-07-10 14:35:11 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-12 17:12:29 -0700 |
commit | c5ec13e38af5527f69f647c46ce15ebaa6b35e6c (patch) | |
tree | a58a8f832a3d34f8e1c62d1083c2943bd691c94c /drivers/net/ethernet/marvell/octeontx2/af/ptp.c | |
parent | fa3530be69f5378d1319344c10c0a6f3fe7d629a (diff) |
ipv6: rpl: Remove redundant skb_dst_drop().
RPL code has a pattern where skb_dst_drop() is called before
ip6_route_input().
However, ip6_route_input() calls skb_dst_drop() internally,
so we need not call skb_dst_drop() before ip6_route_input().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20230710213511.5364-1-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/ptp.c')
0 files changed, 0 insertions, 0 deletions