mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
31392048f5
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 |