Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rcu: Make kfree_rcu() ignore NULL pointers
This commit makes the kfree_rcu() macro's semantics be consistent with the likes of kfree() by adding a check for NULL pointers, so that kfree_rcu(NULL, ...) is a no-op. Reported-by: Andriy Shevchenko <[email protected]> Reported-by: Christoph Hellwig <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Andriy Shevchenko <[email protected]>
- Loading branch information