diff options
| author | Colin Ian King <[email protected]> | 2016-02-05 16:30:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-02-13 11:05:41 +0000 |
| commit | 19a6d156a7bd080f3a855a40a4a08ab475e34b4a (patch) | |
| tree | b23da02c6fb0f0157f0d632adeff4eed06672e2e /net/unix/af_unix.c | |
| parent | hv_netvsc: Restore needed_headroom request (diff) | |
| download | kernel-19a6d156a7bd080f3a855a40a4a08ab475e34b4a.tar.gz kernel-19a6d156a7bd080f3a855a40a4a08ab475e34b4a.zip | |
net: cavium: liquidio: fix check for in progress flag
smatch detected a suspicious looking bitop condition:
drivers/net/ethernet/cavium/liquidio/lio_main.c:2529
handle_timestamp() warn: suspicious bitop condition
(skb_shinfo(skb)->tx_flags | SKBTX_IN_PROGRESS is always non-zero,
so the logic is definitely not correct. Use & to mask the correct
bit.
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
