diff options
| author | 2026-10-05 23:14:16 +0300 | |
|---|---|---|
| committer | 2026-10-07 19:45:44 -0700 | |
| commit | 0518c33e1d7e5600e441027100079aaf9c0dda74 (patch) | |
| tree | c067278bc12bfd606532a22a57c076f86e0086e4 /scripts/Makefile.thinlto | |
| parent | ip_tunnel: make __iptunnel_pull_header() return a drop reason (diff) | |
vxlan: report the drop reason of __iptunnel_pull_header()
vxlan_rcv() reports SKB_DROP_REASON_NOMEM whenever
__iptunnel_pull_header() fails, as the helper used to return -ENOMEM
for any failure. The VXLAN header is already in the linear area at this
point, but the inner Ethernet header of a packet without GPE may not
be, so a packet whose inner frame is shorter than an Ethernet header is
reported as an out of memory condition.
Report the reason __iptunnel_pull_header() now returns instead:
PKT_TOO_SMALL for such a packet, NOMEM when an allocation fails.
Suggested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Anton Danilov <littlesmilingcloud@gmail.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20261005201417.906344-4-littlesmilingcloud@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
