linux-sg2042/net/batman-adv
Linus Lüssing 9d2c9488ce batman-adv: fix potential kernel paging errors for unicast transmissions
There are several functions which might reallocate skb data. Currently
some places keep reusing their old ethhdr pointer regardless of whether
they became invalid after such a reallocation or not. This potentially
leads to kernel paging errors.

This patch fixes these by refetching the ethdr pointer after the
potential reallocations.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
2013-08-10 22:55:42 +02:00
..
Kconfig batman-adv: network coding - add the initial infrastructure code 2013-03-13 22:53:48 +01:00
Makefile batman-adv: move ring_buffer helper functions in bat_iv_ogm 2013-05-29 02:44:54 +02:00
bat_algo.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bat_iv_ogm.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-06-19 16:49:39 -07:00
bitarray.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bitarray.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bridge_loop_avoidance.c batman-adv: fix potential kernel paging errors for unicast transmissions 2013-08-10 22:55:42 +02:00
bridge_loop_avoidance.h batman-adv: change VID semantic in the BLA code 2013-05-29 02:44:55 +02:00
debugfs.c batman-adv: network coding - detect coding nodes and remove these after timeout 2013-03-13 22:53:49 +01:00
debugfs.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
distributed-arp-table.c batman-adv: fix typos in kernel doc & comments 2013-05-29 02:44:53 +02:00
distributed-arp-table.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
gateway_client.c batman-adv: fix potential kernel paging errors for unicast transmissions 2013-08-10 22:55:42 +02:00
gateway_client.h batman-adv: fix potential kernel paging errors for unicast transmissions 2013-08-10 22:55:42 +02:00
gateway_common.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
gateway_common.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
hard-interface.c batman-adv: don't initialise batman_iv private members in hard-interface.c 2013-05-29 02:44:54 +02:00
hard-interface.h batman-adv: Don't always delete softif when last slave was removed 2013-03-27 10:27:32 +01:00
hash.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
hash.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
icmp_socket.c batman-adv: don't deal with NET_IP_ALIGN manually 2013-05-29 02:44:54 +02:00
icmp_socket.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
main.c net: Unmap fragment page once iterator is done 2013-06-24 01:46:01 -07:00
main.h batman-adv: Start new development cycle 2013-05-29 02:44:56 +02:00
network-coding.c batman-adv: Move call to batadv_nc_skb_forward() from routing.c to send.c 2013-05-29 02:44:55 +02:00
network-coding.h batman-adv: Move call to batadv_nc_skb_forward() from routing.c to send.c 2013-05-29 02:44:55 +02:00
originator.c batman-adv: slightly improve neighbor creation debug message 2013-05-29 02:44:53 +02:00
originator.h batman-adv: drop useless argument seqno in neighbor creation 2013-05-29 02:44:53 +02:00
packet.h batman-adv: Fix endianness errors for network coding 2013-03-27 10:27:31 +01:00
routing.c batman-adv: Move call to batadv_nc_skb_forward() from routing.c to send.c 2013-05-29 02:44:55 +02:00
routing.h batman-adv: move batadv_slide_own_bcast_window to bat_iv_ogm.c 2013-05-29 02:44:54 +02:00
send.c batman-adv: Move call to batadv_nc_skb_forward() from routing.c to send.c 2013-05-29 02:44:55 +02:00
send.h batman-adv: Move call to batadv_nc_skb_forward() from routing.c to send.c 2013-05-29 02:44:55 +02:00
soft-interface.c batman-adv: fix potential kernel paging errors for unicast transmissions 2013-08-10 22:55:42 +02:00
soft-interface.h batman-adv: Allow to use rntl_link for device creation/deletion 2013-03-27 10:27:34 +01:00
sysfs.c batman-adv: wait for rtnl in batadv_store_mesh_iface instead of failing if it is taken 2013-06-10 08:42:16 +02:00
sysfs.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
translation-table.c batman-adv: Move call to batadv_nc_skb_forward() from routing.c to send.c 2013-05-29 02:44:55 +02:00
translation-table.h batman-adv: pass a 16bit long flag argument to tt_global_add() 2013-05-29 02:44:55 +02:00
types.h batman-adv: change VID semantic in the BLA code 2013-05-29 02:44:55 +02:00
unicast.c batman-adv: fix potential kernel paging errors for unicast transmissions 2013-08-10 22:55:42 +02:00
unicast.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
vis.c batman-adv: Move call to batadv_nc_skb_forward() from routing.c to send.c 2013-05-29 02:44:55 +02:00
vis.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00