[Intel-wired-lan] [PATCH 1/2] ixgbe: ixgbe_atr() should access udp_hdr(skb) only for UDP packets

Singh, Krishneil K krishneil.k.singh at intel.com
Thu Nov 3 01:01:34 UTC 2016


-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Jeff Kirsher
Sent: Monday, October 24, 2016 3:37 PM
To: intel-wired-lan at lists.osuosl.org
Cc: Sowmini Varadhan <sowmini.varadhan at oracle.com>
Subject: [Intel-wired-lan] [PATCH 1/2] ixgbe: ixgbe_atr() should access udp_hdr(skb) only for UDP packets

From: Sowmini Varadhan <sowmini.varadhan at oracle.com>

Commit 9f12df906cd8 ("ixgbe: Store VXLAN port number in network order") incorrectly checks for hdr.ipv4->protocol != IPPROTO_UDP in ixgbe_atr(). This check should be for "==" instead.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan at oracle.com>
Reviewed-by: Alexander Duyck <alexander.h.duyck at intel.com>
---

Tested-by: Krishneil Singh <krishneil.k.singh at intel.com>



More information about the Intel-wired-lan mailing list