commit | 723eb53690041740a13ac78efeaf6804f5d684c9 | [log] [tgz] |
---|---|---|
author | Martin Habets <mhabets@solarflare.com> | Thu Nov 21 17:52:15 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 21 12:06:06 2019 -0800 |
tree | e5ee57143dccb75b9a518101f2688a13f974e6e0 | |
parent | 5f9f0b11f0816b35867f2cf71e54d95f53f03902 [diff] |
sfc: Only cancel the PPS workqueue if it exists The workqueue only exists for the primary PF. For other functions we hit a WARN_ON in kernel/workqueue.c. Fixes: 7c236c43b838 ("sfc: Add support for IEEE-1588 PTP") Signed-off-by: Martin Habets <mhabets@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>