diff options
author | Antonio Quartulli <antonio@meshcoding.com> | 2013-12-23 01:28:05 +0100 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2013-12-28 14:47:44 +0100 |
commit | 55883fd1048e09f5b6e1edaf0caf7e4f6f31f971 (patch) | |
tree | cccd25e8e8b265c3f2eeb2f28336c33aea8ec505 /.gitignore | |
parent | batman-adv: fix alignment for batadv_tvlv_tt_change (diff) | |
download | linux-55883fd1048e09f5b6e1edaf0caf7e4f6f31f971.tar.xz linux-55883fd1048e09f5b6e1edaf0caf7e4f6f31f971.zip |
batman-adv: clean nf state when removing protocol header
If an interface enslaved into batman-adv is a bridge (or a
virtual interface built on top of a bridge) the nf_bridge
member of the skbs reaching the soft-interface is filled
with the state about "netfilter bridge" operations.
Then, if one of such skbs is locally delivered, the nf_bridge
member should be cleaned up to avoid that the old state
could mess up with other "netfilter bridge" operations when
entering a second bridge.
This is needed because batman-adv is an encapsulation
protocol.
However at the moment skb->nf_bridge is not released at all
leading to bogus "netfilter bridge" behaviours.
Fix this by cleaning the netfilter state of the skb before
it gets delivered to the upper layer in interface_rx().
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions