commit | e53da5fbfc02586fe4506ed583069b8205f3e38d | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Tue Oct 14 17:02:37 2014 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 14 17:02:37 2014 -0400 |
tree | 1837e8406e630c05e7a045e3bdcf6c4e2cd5860e | |
parent | dee49f203a7feef5d00c416b7dc7e34a7caba8e1 [diff] |
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: David S. Miller <davem@davemloft.net>