{"ref":"refs/heads/master","commits":[{"author":{"name":"Brian Behlendorf","email":"32d50ad1e384dcb9a5bf7e40fa470df5dabaf348@llnl.gov"},"message":"Fix NULL deref in balance_pgdat()\n\nBe careful not to unconditionally clear the PF_MEMALLOC bit in\nthe task structure.  It may have already been set when entering\nkv_alloc() in which case it must remain set on exit.  In\nparticular the kswapd thread will have PF_MEMALLOC set in\norder to prevent it from entering direct reclaim.  By clearing\nit we allow the following NULL deref to potentially occur.\n\n  BUG: unable to handle kernel NULL pointer dereference at (null)\n  IP: [<ffffffff8109c7ab>] balance_pgdat+0x25b/0x4ff\n\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nCloses ZFS issue #287","url":"https://api.github.com/repos/rohan-puri/spl/commits/b8b6e4c453929596b630fa1cca1ee26a532a2ab4","sha":"b8b6e4c453929596b630fa1cca1ee26a532a2ab4"}],"head":"b8b6e4c453929596b630fa1cca1ee26a532a2ab4","size":1,"push_id":48687840}