Files
linux/net/ipv6
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-02-27 11:01:39 -05:00
2018-03-22 11:11:30 -04:00
2018-02-19 14:19:09 -05:00
2018-02-28 11:43:28 -05:00
2017-05-21 13:42:36 -04:00
2018-03-04 13:04:22 -05:00
2018-03-04 13:04:22 -05:00
2018-02-28 11:43:28 -05:00
2018-03-04 13:04:22 -05:00
2016-12-25 17:21:23 +01:00
2018-02-19 14:19:11 -05:00
2018-02-28 11:43:28 -05:00
2018-02-19 14:19:11 -05:00
2017-09-01 18:35:23 -07:00
2018-02-19 14:19:10 -05:00
2015-11-03 10:52:13 -05:00
2018-03-16 12:03:30 -04:00
2018-02-19 14:19:11 -05:00
2018-02-28 11:43:28 -05:00