Author: simon Date: 2009-11-28 20:11:09 +0000 (Sat, 28 Nov 2009) New Revision: 1489
Modified: trunk/batman-adv-kernelland/routing.c Log: if discarding a packet, we need to read it under any condition.
Modified: trunk/batman-adv-kernelland/routing.c =================================================================== --- trunk/batman-adv-kernelland/routing.c 2009-11-28 20:09:17 UTC (rev 1488) +++ trunk/batman-adv-kernelland/routing.c 2009-11-28 20:11:09 UTC (rev 1489) @@ -968,8 +968,7 @@ { int result = -EAGAIN;
- if ((batman_if->if_active == IF_TO_BE_ACTIVATED) - && (batman_if->raw_sock)) { + if (batman_if->raw_sock) { result = receive_raw_packet(batman_if->raw_sock, packet_buff, PACKBUFF_SIZE);