]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Fix range check for expected packets
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Sun, 30 Oct 2011 15:22:43 +0000 (16:22 +0100)
committerSven Eckelmann <sven@narfation.org>
Sun, 20 Nov 2011 12:08:35 +0000 (13:08 +0100)
commit0d73b89bb9797d1d5a7fc54fa8f4561faebe20e0
tree30b2e7650d62277cfb63dfe8145f4b372b47af4c
parent10816f3deabba967b356fd8e1e149601e9fb2bdf
batman-adv: Fix range check for expected packets

The check for new packets in the future used a wrong binary operator,
which makes the check expression always true and accepting too many
packets.

Reported-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/bitarray.c