aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPavel Tatashin <[email protected]>2017-08-25 22:55:46 +0000
committerLinus Torvalds <[email protected]>2017-08-25 23:12:46 +0000
commit91b540f98872a206ea1c49e4aa6ea8eed0886644 (patch)
treef9364d7d1c9c47123ca73d1910b76322482da9a4 /net/switchdev/switchdev.c
parentfork: fix incorrect fput of ->exe_file causing use-after-free (diff)
downloadkernel-91b540f98872a206ea1c49e4aa6ea8eed0886644.tar.gz
kernel-91b540f98872a206ea1c49e4aa6ea8eed0886644.zip
mm/memblock.c: reversed logic in memblock_discard()
In recently introduced memblock_discard() there is a reversed logic bug. Memory is freed of static array instead of dynamically allocated one. Link: http://lkml.kernel.org/r/[email protected] Fixes: 3010f876500f ("mm: discard memblock data later") Signed-off-by: Pavel Tatashin <[email protected]> Reported-by: Woody Suwalski <[email protected]> Tested-by: Woody Suwalski <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions