Files
mirror_zfs/module/spl
Brian Behlendorf b8b6e4c453 Fix NULL deref in balance_pgdat()
Be careful not to unconditionally clear the PF_MEMALLOC bit in
the task structure.  It may have already been set when entering
kv_alloc() in which case it must remain set on exit.  In
particular the kswapd thread will have PF_MEMALLOC set in
order to prevent it from entering direct reclaim.  By clearing
it we allow the following NULL deref to potentially occur.

  BUG: unable to handle kernel NULL pointer dereference at (null)
  IP: [<ffffffff8109c7ab>] balance_pgdat+0x25b/0x4ff

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes ZFS issue #287
2011-11-03 09:50:22 -07:00
..
2010-01-08 09:37:54 -08:00
2011-02-25 16:56:22 -08:00
2011-02-25 16:56:22 -08:00
2010-07-20 13:30:40 -07:00
2011-11-03 09:50:22 -07:00
2011-01-12 11:38:05 -08:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2011-05-06 15:23:58 -07:00
2010-07-20 13:30:40 -07:00