Commit 18adee0
Hangbin Liu
seg6: Cleanup duplicates of skb_dst_drop calls
JIRA: https://issues.redhat.com/browse/RHEL-30814
Upstream Status: net.git commit fa0583c
commit fa0583c
Author: Yuya Tajima <yuya.tajimaa@gmail.com>
Date: Mon May 15 15:34:27 2023 +0000
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: Yuya Tajima <yuya.tajimaa@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Hangbin Liu <haliu@redhat.com>1 parent b3dc398 commit 18adee0
2 files changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
451 | | - | |
452 | 450 | | |
453 | 451 | | |
454 | 452 | | |
| |||
820 | 818 | | |
821 | 819 | | |
822 | 820 | | |
823 | | - | |
824 | 821 | | |
825 | 822 | | |
826 | 823 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
474 | | - | |
475 | 473 | | |
476 | 474 | | |
477 | 475 | | |
| |||
482 | 480 | | |
483 | 481 | | |
484 | 482 | | |
| 483 | + | |
485 | 484 | | |
486 | 485 | | |
487 | 486 | | |
| |||
0 commit comments