From: Sven Eckelmann Date: Sat, 10 Dec 2011 14:28:35 +0000 (+0100) Subject: batman-adv: Directly check read of icmp packet in copy_from_user X-Git-Tag: v3.3-rc1~182^2~250^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d18eb45332478f319e5cf996e093228a68864cce;p=pandora-kernel.git 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 Signed-off-by: Marek Lindner --- Reading git-diff-tree failed