diff options
author | Mark Rustad <[email protected]> | 2014-08-09 07:02:09 +0000 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2014-09-18 03:19:10 -0700 |
commit | d52349337392b122a1bcd57d191e2a0329b2d9b2 (patch) | |
tree | 3f6953cc94698a9e7754946c3e5a3c6dec741f1e /net/lapb/lapb_subr.c | |
parent | d38e92481bf3fe15a9d253a1a1aaa5a71358938a (diff) |
ixgbe: Do not schedule an uninitialized workqueue entry
If a hardware Tx timestamp is requested, an uninitialized
workqueue entry may be scheduled, especially on an 82598 adapter.
Add a check for a PTP clock to avoid that. Also only apply the
unlikely to the first term of the conditional. That will make the
rest of the checks be in the cold path.
Signed-off-by: Mark Rustad <[email protected]>
Acked-by: Matthew Vick <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions