diff options
| author | Antoine Tenart <atenart@kernel.org> | 2025-09-15 11:19:55 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-19 17:35:51 -0700 |
| commit | dcc0e68ed300dae3325e323417773dd59a6a65db (patch) | |
| tree | 894a55235f3a71654e43d5ecdcd41177dc4646cc /rust/helpers/xarray.c | |
| parent | 1c7e4a618509476658bafba35fffb3a5cfb213b1 (diff) | |
net: ipv4: simplify drop reason handling in ip_rcv_finish_core
Instead of setting the drop reason to SKB_DROP_REASON_NOT_SPECIFIED
early and having to reset it each time it is overridden by a function
returned value, just set the drop reason to the expected value before
returning from ip_rcv_finish_core.
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Link: https://patch.msgid.link/20250915091958.15382-3-atenart@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
