David S. Miller b32d13102d tcp: Fix bitmask test in tcp_syn_options()
As reported by Alexey Dobriyan:

	  CHECK   net/ipv4/tcp_output.c
	net/ipv4/tcp_output.c:475:7: warning: dubious: !x & y

And sparse is damn right!

	if (unlikely(!OPTION_TS & opts->options))
		    ^^^
		size += TCPOLEN_SACKPERM_ALIGNED;

OPTION_TS is (1 << 1), so condition will never trigger.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-21 18:45:34 -07:00
..
2008-05-14 19:23:27 -05:00
2008-07-16 20:31:16 -07:00
2008-07-21 13:21:35 -07:00
2008-07-20 10:18:44 -07:00
2008-07-05 21:25:39 -07:00
2008-07-08 03:23:36 -07:00
2008-06-11 21:00:38 -07:00