summaryrefslogtreecommitdiff
path: root/net/batman-adv/distributed-arp-table.c
diff options
context:
space:
mode:
authorLinus Lüssing <linus.luessing@c0d3.blue>2015-06-30 21:45:26 (GMT)
committerAntonio Quartulli <antonio@meshcoding.com>2015-08-14 20:52:10 (GMT)
commit53cf037bf846417fd92dc92ddf97267f69b110f4 (patch)
tree677bf06ed90113864db8726610736564b4c13da2 /net/batman-adv/distributed-arp-table.c
parent3f1e08d0ae6746379b9e21264dae52f4f35c7ad2 (diff)
downloadlinux-53cf037bf846417fd92dc92ddf97267f69b110f4.tar.xz
batman-adv: Fix potentially broken skb network header access
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>
Diffstat (limited to 'net/batman-adv/distributed-arp-table.c')
0 files changed, 0 insertions, 0 deletions