linux/net/batman-adv
Antonio Quartulli 70b271a78b batman-adv: fix potential kernel paging error for unicast transmissions
batadv_send_skb_prepare_unicast(_4addr) might reallocate the
skb's data. If it does then our ethhdr pointer is not valid
anymore in batadv_send_skb_unicast(), resulting in a kernel
paging error.

Fixing this by refetching the ethhdr pointer after the
potential reallocation.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
2014-02-17 17:17:02 +01:00
..
bat_algo.h
bat_iv_ogm.c batman-adv: avoid double free when orig_node initialization fails 2014-02-17 17:17:02 +01:00
bitarray.c
bitarray.h
bridge_loop_avoidance.c
bridge_loop_avoidance.h
debugfs.c
debugfs.h
distributed-arp-table.c
distributed-arp-table.h
fragmentation.c
fragmentation.h
gateway_client.c
gateway_client.h
gateway_common.c
gateway_common.h
hard-interface.c
hard-interface.h
hash.c
hash.h
icmp_socket.c
icmp_socket.h
Kconfig
main.c
main.h
Makefile
network-coding.c
network-coding.h
originator.c batman-adv: avoid potential race condition when adding a new neighbour 2014-02-17 17:17:01 +01:00
originator.h batman-adv: avoid potential race condition when adding a new neighbour 2014-02-17 17:17:01 +01:00
packet.h
routing.c batman-adv: free skb on TVLV parsing success 2014-02-17 17:17:02 +01:00
routing.h
send.c batman-adv: fix potential kernel paging error for unicast transmissions 2014-02-17 17:17:02 +01:00
send.h
soft-interface.c
soft-interface.h
sysfs.c
sysfs.h
translation-table.c batman-adv: fix TT CRC computation by ensuring byte order 2014-02-17 17:17:02 +01:00
translation-table.h
types.h