Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: rocker: fix a potential NULL pointer dereference
In case kzalloc fails, the fix releases resources and returns NOTIFY_BAD to avoid NULL pointer dereference. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information