Files
linux/net/ipv4
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-08 12:36:45 -05:00
2017-10-21 01:33:19 +01:00
2018-03-05 10:48:28 -05:00
2018-01-24 19:13:45 -05:00
2018-03-01 13:13:23 -05:00
2018-03-01 13:13:23 -05:00
2018-02-28 11:43:28 -05:00
2017-10-16 21:24:25 +01:00
2018-02-28 11:43:28 -05:00
2018-03-16 12:03:30 -04:00
2018-02-28 11:43:28 -05:00