On Sunday 19 October 2014 19:59:41 Antonio Quartulli wrote:
consume_skb() has to be re-defined only for kernels <2.6.30 but the macro was accidentally placed right above any #ifdef block causing the function to be always redefined.
Fix this by moving the macro to the proper #ifdef block.
Introduced by: 15fb0fab51a3695738f65dfaab045e979fc89dce ("batman-adv add compat code for consume_skb")
Reported-by: Sven Eckelmann sven@narfation.org Signed-off-by: Antonio Quartulli antonio@meshcoding.com
compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied in revision b609f26.
Thanks, Marek