aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2014-06-26 00:44:02 -0700
committerDavid S. Miller <[email protected]>2014-07-01 12:20:20 -0700
commit07b0f00964def8af9321cfd6c4a7e84f6362f728 (patch)
treebf5c690b804626166c77aa24ce8ea7dbff29583a /tools/perf/scripts/python
parent7f502361531e9eecb396cf99bdc9e9a59f7ebd7f (diff)
bnx2x: fix possible panic under memory stress
While it is legal to kfree(NULL), it is not wise to use : put_page(virt_to_head_page(NULL)) BUG: unable to handle kernel paging request at ffffeba400000000 IP: [<ffffffffc01f5928>] virt_to_head_page+0x36/0x44 [bnx2x] Reported-by: Michel Lespinasse <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Cc: Ariel Elior <[email protected]> Fixes: d46d132cc021 ("bnx2x: use netdev_alloc_frag()") Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions