summaryrefslogtreecommitdiffstats
path: root/net/core/dst.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-03-04 12:32:10 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-04 22:02:55 -0500
commita4b64fbe482c7766f7925f03067fc637716bfa3f (patch)
treee2e447e8f37092eaccc914ffb6d3eea455cd56fa /net/core/dst.c
parent709e1b5cd9e1915ad4f6c470ebf6b55d4a911d8c (diff)
downloadop-kernel-dev-a4b64fbe482c7766f7925f03067fc637716bfa3f.zip
op-kernel-dev-a4b64fbe482c7766f7925f03067fc637716bfa3f.tar.gz
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>
Diffstat (limited to 'net/core/dst.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud