Files
linux/net
Colin Ian King 1574639411 gre: fix TUNNEL_SEQ bit check on sequence numbering
The current logic of flags | TUNNEL_SEQ is always non-zero and hence
sequence numbers are always incremented no matter the setting of the
TUNNEL_SEQ bit.  Fix this by using & instead of |.

Detected by CoverityScan, CID#1466039 ("Operands don't affect result")

Fixes: 77a5196a80 ("gre: add sequence number for collect md mode.")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-22 14:52:43 -04:00
..
2018-03-05 10:48:27 -05:00
2018-03-22 11:11:29 -04:00
2018-03-05 10:48:28 -05:00
2018-03-22 11:11:29 -04:00
2018-02-27 11:01:35 -05:00
2018-03-17 17:07:39 -04:00
2018-03-12 11:14:06 -04:00
2018-03-17 17:07:39 -04:00
2018-03-17 17:07:39 -04:00
2018-03-17 17:07:39 -04:00
2018-02-13 10:36:08 -05:00
2018-03-17 20:11:22 -04:00
2018-03-16 14:57:26 -04:00
2018-02-20 13:51:47 -05:00
2018-03-08 12:36:43 -05:00
2018-02-13 10:36:05 -05:00