Skip to content
Commit e53da5fb authored by David S. Miller's avatar David S. Miller
Browse files

net: Trap attempts to call sock_kfree_s() with a NULL pointer.



Unlike normal kfree() it is never right to call sock_kfree_s() with
a NULL pointer, because sock_kfree_s() also has the side effect of
discharging the memory from the sockets quota.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dee49f20
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment