Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Check skb size before using encapsulated ETH+VLAN header

Marek Lindner
2016-03-20T09:57:05Z

[-- Attachment #1: Type: text/plain, Size: 550 bytes --]

On Friday, February 26, 2016 17:56:13 Sven Eckelmann wrote:
> The encapsulated ethernet and VLAN header may be outside the received
> ethernet frame. Thus the skb buffer size has to be checked before it can be
> parsed to find out if it encapsulates another batman-adv packet.
>
> Fixes: 48628bb9419f ("batman-adv: softif bridge loop avoidance")
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> net/batman-adv/soft-interface.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)

Applied in revision 7d2f8a7.

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]