[PATCH for v4.9 LTS 36/87] benet: stricter vxlan offloading check in be_features_check

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Sabrina Dubroca [ Upstream commit 096de2f83ebc8e0404c5b7e847a4abd27b9739da ] When VXLAN offloading is enabled, be_features_check() tries to check if an encapsulated packet is indeed a VXLAN packet. The check is not strict enough, and considers any UDP-encapsulated

[PATCH for v4.9 LTS 36/87] benet: stricter vxlan offloading check in be_features_check

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Sabrina Dubroca [ Upstream commit 096de2f83ebc8e0404c5b7e847a4abd27b9739da ] When VXLAN offloading is enabled, be_features_check() tries to check if an encapsulated packet is indeed a VXLAN packet. The check is not strict enough, and considers any UDP-encapsulated ethernet frame with a