Eric Dumazet a4b64fbe48 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>
2012-03-04 22:02:55 -05:00
..
2011-10-19 03:10:46 -04:00
2012-02-08 18:26:54 -05:00
2010-07-12 12:57:55 -07:00
2012-01-26 13:36:19 -05:00
2010-11-28 18:24:14 -08:00
2012-01-17 10:31:12 -05:00
2011-12-16 15:49:51 -05:00