diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-02-28 10:38:52 (GMT) |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-05-10 10:26:43 (GMT) |
commit | 7142fc107274a0ebfd31e995de61e71a1e84770f (patch) | |
tree | 33e2434430de4ea990269a4bbe73ca7d7fdf0916 /block/noop-iosched.c | |
parent | 6535db56d5453555b7a40230024225d9ec700585 (diff) | |
download | linux-7142fc107274a0ebfd31e995de61e71a1e84770f.tar.xz |
batman-adv: Remove hdr_size skb size check in batadv_interface_rx
The callers of batadv_interface_rx have to make sure that enough data can
be pulled from the skb when they read the batman-adv header. The only two
functions using it are either calling pskb_may_pull with hdr_size directly
(batadv_recv_bcast_packet) or indirectly via batadv_check_unicast_packet
(batadv_recv_unicast_packet).
Reported-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions