diff options
author | Linus Lüssing <linus.luessing@c0d3.blue> | 2015-06-30 23:45:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-22 14:43:24 -0700 |
commit | 42719676db08e05831407b4f0990cd98bd3ddc7b (patch) | |
tree | 1fa0000317d85b842b977f0725d652ee99cf32b2 /tools | |
parent | 3e6263c022b2c377bf883c99e278eb8bbe207325 (diff) | |
download | lwn-42719676db08e05831407b4f0990cd98bd3ddc7b.tar.gz lwn-42719676db08e05831407b4f0990cd98bd3ddc7b.zip |
batman-adv: Fix potentially broken skb network header access
commit 53cf037bf846417fd92dc92ddf97267f69b110f4 upstream.
The two commits noted below added calls to ip_hdr() and ipv6_hdr(). They
need a correctly set skb network header.
Unfortunately we cannot rely on the device drivers to set it for us.
Therefore setting it in the beginning of the according ndo_start_xmit
handler.
Fixes: 1d8ab8d3c176 ("batman-adv: Modified forwarding behaviour for multicast packets")
Fixes: ab49886e3da7 ("batman-adv: Add IPv4 link-local/IPv6-ll-all-nodes multicast support")
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions