aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAnton Danilov <littlesmilingcloud@gmail.com>2026-10-05 23:14:16 +0300
committerJakub Kicinski <kuba@kernel.org>2026-10-07 19:45:44 -0700
commit0518c33e1d7e5600e441027100079aaf9c0dda74 (patch)
treec067278bc12bfd606532a22a57c076f86e0086e4 /scripts/Makefile.thinlto
parentip_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