git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dee49f2
)
net: Trap attempts to call sock_kfree_s() with a NULL pointer.
author
David S. Miller
<davem@davemloft.net>
Tue, 14 Oct 2014 21:02:37 +0000
(17:02 -0400)
committer
David S. Miller
<davem@davemloft.net>
Tue, 14 Oct 2014 21:02:37 +0000
(17:02 -0400)
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>
No differences found