commit | d18eb45332478f319e5cf996e093228a68864cce | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Sat Dec 10 15:28:35 2011 +0100 |
committer | Marek Lindner <lindner_marek@yahoo.de> | Mon Dec 12 19:11:06 2011 +0800 |
tree | 56aca42703092ea2198ff5ee68456968dab0f70e | |
parent | c00b6856fc642b234895cfabd15b289e76726430 [diff] |
batman-adv: Directly check read of icmp packet in copy_from_user The access_ok read check can be directly done in copy_from_user since a failure of access_ok is handled the same way as an error in __copy_from_user. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>