From: Antonio Quartulli Date: Wed, 3 Apr 2013 08:14:20 +0000 (+0200) Subject: batman-adv: use the proper header len when checking the TTVN X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~77^2~15^2~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd981ab091cde09bb9eb23c8d81305ba615ee30c;p=pandora-kernel.git batman-adv: use the proper header len when checking the TTVN Unicast packet might be of type either UNICAST or UNICAST4ADDR. In the two cases the header size is different, but the mechanism checking the TTVN field was assuming it to be always of the same type (UNICAST), so failing to access the inner Ethernet header in case of UNICAST4ADDR. Fix this by passing the real header length as argument. Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner --- Reading git-diff-tree failed