summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorLinus Lüssing2012-09-14 02:40:54 +0200
committerDavid S. Miller2012-09-19 21:49:53 +0200
commitdbd6b11e15a2f96030da17dbeda943a8a98ee990 (patch)
treeda58d7bcdf790f48555e4e0152ddf3a1df23dee8 /net/ipv4/tcp.c
parente1000: Small packets may get corrupted during padding by HW (diff)
downloadkernel-qcow2-linux-dbd6b11e15a2f96030da17dbeda943a8a98ee990.tar.gz
kernel-qcow2-linux-dbd6b11e15a2f96030da17dbeda943a8a98ee990.tar.xz
kernel-qcow2-linux-dbd6b11e15a2f96030da17dbeda943a8a98ee990.zip
batman-adv: make batadv_test_bit() return 0 or 1 only
On some architectures test_bit() can return other values than 0 or 1: With a generic x86 OpenWrt image in a kvm setup (batadv_)test_bit() frequently returns -1 for me, leading to batadv_iv_ogm_update_seqnos() wrongly signaling a protected seqno window. This patch tries to fix this issue by making batadv_test_bit() return 0 or 1 only. Signed-off-by: Linus Lüssing <linus.luessing@web.de> Acked-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions