commit | a4b64fbe482c7766f7925f03067fc637716bfa3f | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Sun Mar 04 12:32:10 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 04 22:02:55 2012 -0500 |
tree | e2e447e8f37092eaccc914ffb6d3eea455cd56fa | |
parent | 709e1b5cd9e1915ad4f6c470ebf6b55d4a911d8c [diff] |
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 <eric.dumazet@gmail.com> Cc: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>