]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix overwriting of rx_mtrl in ixgbe_ptp_hwtstamp_ioctl
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 5 Dec 2012 07:53:38 +0000 (07:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Jan 2013 08:37:07 +0000 (00:37 -0800)
commitb02f9ea1597f9418a2706053fda2a12056758fa7
tree88e32167c7da6f510ab45dfd3b070a5e51d0374e
parent57fcc0a873a3a3d7306aa1da7679b174773437d9
ixgbe: Fix overwriting of rx_mtrl in ixgbe_ptp_hwtstamp_ioctl

This patch corrects a bug introduced by commit 1bfd0646. The rxmtrl value for
the UDP port to timestamp on was moved above the switch statement, but was
overwritten to 0 if the ioctl selected one of the V1 filters.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c