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-07-16 20:31:16 -07:00
2008-07-16 20:20:11 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:20:11 -07:00
2008-07-16 20:20:33 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:19:49 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-03-06 16:22:02 -08:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:19:49 -07:00
2008-07-16 20:20:11 -07:00
2008-07-16 20:31:16 -07:00
2008-05-01 08:03:58 -07:00
2008-06-11 21:00:38 -07:00
2008-07-10 16:51:32 -07:00
2008-07-16 20:31:16 -07:00
2008-03-26 16:51:09 -07:00
2008-03-26 16:51:09 -07:00