Commit e98f3e0
committed
net: ip: make ip_route_use_hint() 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 479aed0
Author: Menglong Dong <menglong8.dong@gmail.com>
Date: Thu Nov 7 20:56:01 2024 +0800
net: ip: make ip_route_use_hint() return drop reasons
In this commit, we make ip_route_use_hint() return drop reasons. The
drop reasons that we return are similar to what we do in
ip_route_input_slow(), and no drop reasons are added in this commit.
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 633853c commit e98f3e0
3 files changed
+25
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
211 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
326 | | - | |
327 | 325 | | |
328 | | - | |
329 | | - | |
330 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
331 | 329 | | |
332 | 330 | | |
333 | 331 | | |
| 332 | + | |
334 | 333 | | |
335 | 334 | | |
336 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2152 | 2152 | | |
2153 | 2153 | | |
2154 | 2154 | | |
2155 | | - | |
2156 | | - | |
2157 | | - | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
2158 | 2159 | | |
| 2160 | + | |
2159 | 2161 | | |
2160 | 2162 | | |
2161 | 2163 | | |
2162 | | - | |
2163 | | - | |
2164 | 2164 | | |
2165 | 2165 | | |
2166 | 2166 | | |
2167 | | - | |
| 2167 | + | |
2168 | 2168 | | |
2169 | | - | |
| 2169 | + | |
| 2170 | + | |
2170 | 2171 | | |
| 2172 | + | |
2171 | 2173 | | |
2172 | | - | |
| 2174 | + | |
| 2175 | + | |
2173 | 2176 | | |
| 2177 | + | |
2174 | 2178 | | |
2175 | | - | |
| 2179 | + | |
| 2180 | + | |
2176 | 2181 | | |
| 2182 | + | |
2177 | 2183 | | |
2178 | 2184 | | |
2179 | 2185 | | |
| |||
2186 | 2192 | | |
2187 | 2193 | | |
2188 | 2194 | | |
2189 | | - | |
| 2195 | + | |
2190 | 2196 | | |
2191 | 2197 | | |
2192 | 2198 | | |
2193 | | - | |
| 2199 | + | |
2194 | 2200 | | |
2195 | 2201 | | |
2196 | 2202 | | |
| |||
0 commit comments