]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: tunnel: make skb_vlan_inet_prepare() return drop reasons
authorMenglong Dong <menglong8.dong@gmail.com>
Wed, 9 Oct 2024 02:28:21 +0000 (10:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Oct 2024 10:33:08 +0000 (11:33 +0100)
commit9990ddf47d4168088e2246c3d418bf526e40830d
tree1e610bfe2d422aeead4809d1046db9a9d9bb1d8f
parent7f20dbd7de7b9b2804e6bf54b0c22f2bc447cd64
net: tunnel: make skb_vlan_inet_prepare() return drop reasons

Make skb_vlan_inet_prepare return the skb drop reasons, which is just
what pskb_may_pull_reason() returns. Meanwhile, adjust all the call of
it.

Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bareudp.c
drivers/net/geneve.c
drivers/net/vxlan/vxlan_core.c
include/net/ip_tunnels.h