commit | de179c8c12e9e5a292269fa59e7c26ca797dc7bf | [log] [tgz] |
---|---|---|
author | Hong zhi guo <honkiko@gmail.com> | Mon Mar 25 17:36:33 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 26 12:35:27 2013 -0400 |
tree | e14c3f431303e9fd538395bd4669fe9255252d7d | |
parent | 8dc57da2e23085642cad20d11385e13e079715c4 [diff] |
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 <honkiko@gmail.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>