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-18 02:39:39 -07:00
2008-07-18 02:39:39 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:34:43 -07:00
2008-07-20 17:43:29 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:34:43 -07:00
2008-07-21 13:31:48 -07:00
2008-07-16 20:31:16 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:34:43 -07:00
2008-07-21 18:45:34 -07:00
2008-07-21 13:21:35 -07:00
2008-07-19 22:34:43 -07:00
2008-07-20 17:43:29 -07:00
2008-07-20 10:18:44 -07:00
2008-07-19 22:34:43 -07:00
2008-07-20 00:08:04 -07:00
2008-07-21 10:11:02 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:34:43 -07:00
2008-07-21 13:31:48 -07:00
2008-07-19 22:34:43 -07:00
2008-07-20 21:21:46 -07:00
2008-07-19 22:34:43 -07:00
2008-07-14 22:22:29 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:34:43 -07:00
2008-07-19 22:35:47 -07:00
2008-07-19 22:35:47 -07:00