batman-adv: set the isolation mark in the skb if needed
authorAntonio Quartulli <antonio@open-mesh.com>
Sat, 16 Nov 2013 11:03:52 +0000 (12:03 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 8 Jan 2014 19:49:46 +0000 (20:49 +0100)
If a broadcast packet is coming from a client marked as
isolated, then mark the skb using the isolation mark so
that netfilter (or any other application) can recognise
them.

The mark is written in the skb based on the mask value:
only bits set in the mask are substitued by those in the
mark value

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/soft-interface.c
net/batman-adv/translation-table.c
net/batman-adv/translation-table.h

Simple merge
Simple merge
Simple merge