aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2014-10-14 21:02:37 +0000
committerDavid S. Miller <[email protected]>2014-10-14 21:02:37 +0000
commite53da5fbfc02586fe4506ed583069b8205f3e38d (patch)
tree1837e8406e630c05e7a045e3bdcf6c4e2cd5860e /net/ipv4/tcp_output.c
parentrds: avoid calling sock_kfree_s() on allocation failure (diff)
downloadkernel-e53da5fbfc02586fe4506ed583069b8205f3e38d.tar.gz
kernel-e53da5fbfc02586fe4506ed583069b8205f3e38d.zip
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 <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions