From: Eric Dumazet Date: Sun, 4 Mar 2012 12:32:10 +0000 (+0000) Subject: rtnetlink: fix rtnl_calcit() and rtnl_dump_ifinfo() X-Git-Tag: v3.3-rc7~39^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b64fbe482c7766f7925f03067fc637716bfa3f;p=pandora-kernel.git rtnetlink: fix rtnl_calcit() and rtnl_dump_ifinfo() nlmsg_parse() might return an error, so test its return value before potential random memory accesses. Errors introduced in commit 115c9b81928 (rtnetlink: Fix problem with buffer allocation) Signed-off-by: Eric Dumazet Cc: Greg Rose Signed-off-by: David S. Miller --- Reading git-diff-tree failed