Commit 633853c
committed
net: ip: make ip_mkroute_input/__mkroute_input return drop reasons
JIRA: https://issues.redhat.com/browse/RHEL-88891
Upstream Status: linux.git
Conflicts:\
- Minor code differences as the tos to dscp conversion wasn't done in
c10s yet.
commit d9340d1
Author: Menglong Dong <menglong8.dong@gmail.com>
Date: Thu Nov 7 20:56:00 2024 +0800
net: ip: make ip_mkroute_input/__mkroute_input return drop reasons
In this commit, we make ip_mkroute_input() and __mkroute_input() return
drop reasons.
The drop reason "SKB_DROP_REASON_ARP_PVLAN_DISABLE" is introduced for
the case: the packet which is not IP is forwarded to the in_dev, and
the proxy_arp_pvlan is not enabled.
Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Antoine Tenart <atenart@redhat.com>1 parent 12cba8f commit 633853c
2 files changed
+25
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
480 | 487 | | |
481 | 488 | | |
482 | 489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1780 | 1780 | | |
1781 | 1781 | | |
1782 | 1782 | | |
1783 | | - | |
1784 | | - | |
1785 | | - | |
1786 | | - | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
1787 | 1787 | | |
| 1788 | + | |
1788 | 1789 | | |
1789 | 1790 | | |
1790 | 1791 | | |
| |||
1798 | 1799 | | |
1799 | 1800 | | |
1800 | 1801 | | |
1801 | | - | |
| 1802 | + | |
1802 | 1803 | | |
1803 | 1804 | | |
1804 | 1805 | | |
1805 | 1806 | | |
1806 | 1807 | | |
1807 | | - | |
| 1808 | + | |
1808 | 1809 | | |
1809 | 1810 | | |
1810 | 1811 | | |
| |||
1832 | 1833 | | |
1833 | 1834 | | |
1834 | 1835 | | |
1835 | | - | |
| 1836 | + | |
1836 | 1837 | | |
1837 | 1838 | | |
1838 | 1839 | | |
| |||
1855 | 1856 | | |
1856 | 1857 | | |
1857 | 1858 | | |
1858 | | - | |
| 1859 | + | |
1859 | 1860 | | |
1860 | 1861 | | |
1861 | 1862 | | |
| |||
1869 | 1870 | | |
1870 | 1871 | | |
1871 | 1872 | | |
1872 | | - | |
1873 | | - | |
1874 | | - | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
1875 | 1876 | | |
1876 | 1877 | | |
1877 | 1878 | | |
| |||
2129 | 2130 | | |
2130 | 2131 | | |
2131 | 2132 | | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
2136 | | - | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
2137 | 2137 | | |
2138 | 2138 | | |
2139 | 2139 | | |
| |||
2348 | 2348 | | |
2349 | 2349 | | |
2350 | 2350 | | |
2351 | | - | |
2352 | | - | |
2353 | | - | |
| 2351 | + | |
| 2352 | + | |
2354 | 2353 | | |
2355 | 2354 | | |
2356 | 2355 | | |
| |||
0 commit comments