From: Hong zhi guo Date: Mon, 25 Mar 2013 17:36:33 +0000 (+0000) Subject: netlink: have length check of rtnl msg before deref X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~329 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de179c8c12e9e5a292269fa59e7c26ca797dc7bf;p=pandora-kernel.git netlink: have length check of rtnl msg before deref When the legacy array rtm_min still exists, the length check within these functions is covered by rtm_min[RTM_NEWTFILTER], rtm_min[RTM_NEWQDISC] and rtm_min[RTM_NEWTCLASS]. But after Thomas Graf removed rtm_min several days ago, these checks are missing. Other doit functions should be OK. Signed-off-by: Hong Zhiguo Acked-by: Thomas Graf Signed-off-by: David S. Miller --- Reading git-diff-tree failed