]> 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)
commit9e89e8a61f0bb5ae86b121bab7cef02c418f22af
tree4b3fbd3976d0f55f03cf7516391e70ed625ec2e2
parentf4476bec01fb48246c3720c5b288e83f36d8b43e
ixgbe: Fix overwriting of rx_mtrl in ixgbe_ptp_hwtstamp_ioctl

This patch corrects a bug introduced by commit 284a0925. 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