From: David S. Miller Date: Tue, 22 Jul 2008 01:45:34 +0000 (-0700) Subject: tcp: Fix bitmask test in tcp_syn_options() X-Git-Tag: v2.6.27-rc1~860^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b32d13102d39ed411d152a7ffcc5f66d5b3b1b49;p=pandora-kernel.git 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 --- Reading git-diff-tree failed