]> 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, 23 Jan 2013 22:33:28 +0000 (14:33 -0800)
commitddca0a15fb66cdff705e74e07607867058848087
tree4b3fbd3976d0f55f03cf7516391e70ed625ec2e2
parent7e6b6667db521fc152e8614059e6a4f533852725
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