]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix masking of bits read from IXGBE_VXLANCTRL register
authorSabrina Dubroca <sd@queasysnail.net>
Mon, 3 Jul 2017 11:02:55 +0000 (13:02 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Oct 2017 14:43:06 +0000 (07:43 -0700)
commitfad04fb5e83d73827547d0d3f47422bab71e54c0
tree46aca632691ce385e45e57fcd0cd6391e0ab0f1d
parent123f1fedc24fce45e3239391637283291a953a68
ixgbe: fix masking of bits read from IXGBE_VXLANCTRL register

In ixgbe_clear_udp_tunnel_port(), we read the IXGBE_VXLANCTRL register
and then try to mask some bits out of the value, using the logical
instead of bitwise and operator.

Fixes: eaa7d52d1e1b ("ixgbe: add support for geneve Rx offload")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c