Skip to content
Commit fa0583c2 authored by Yuya Tajima's avatar Yuya Tajima Committed by David S. Miller
Browse files

seg6: Cleanup duplicates of skb_dst_drop calls



In processing IPv6 segment routing header (SRH), several functions call
skb_dst_drop before ip6_route_input. However, ip6_route_input calls
skb_dst_drop within it, so there is no need to call skb_dst_drop in advance.

Signed-off-by: default avatarYuya Tajima <yuya.tajimaa@gmail.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 81cf1ade
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment