aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorNeal Cardwell <[email protected]>2012-11-24 18:54:37 +0000
committerDavid S. Miller <[email protected]>2012-11-26 17:24:41 -0500
commite1a676424c290b1c8d757e3860170ac7ecd89af4 (patch)
treea52a085c1c041bcc2ad7797e7c7526f8eae842ae /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent81b401100c01d2357031e874689f89bd788d13cd (diff)
ipv4: avoid passing NULL to inet_putpeer() in icmpv4_xrlim_allow()
inet_getpeer_v4() can return NULL under OOM conditions, and while inet_peer_xrlim_allow() is OK with a NULL peer, inet_putpeer() will crash. This code path now uses the same idiom as the others from: 1d861aa4b3fb08822055345f480850205ffe6170 ("inet: Minimize use of cached route inetpeer."). Signed-off-by: Neal Cardwell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions