mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-27 01:34:40 +00:00
Ensure the inner IP header is part of the skb's linear data before
setting old_iph. Otherwise, on a non-linear skb, old_iph could point
outside of the packet data.
Unlike classical VXLAN, which always encapsulates Ethernet packets,
VXLAN-GPE can transport IP packets directly. In that case, we need to
look at skb->protocol to figure out if an Ethernet header is present.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| vxlan_core.c | ||
| vxlan_mdb.c | ||
| vxlan_multicast.c | ||
| vxlan_private.h | ||
| vxlan_vnifilter.c | ||