aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMinChan Kim <[email protected]>2008-05-19 22:12:08 +0900
committerPekka Enberg <[email protected]>2008-05-19 20:55:25 +0300
commit239f49c0800778c863585a103805c58afbad6748 (patch)
treebc49ae2d4405b4431e6e7463b3eac52245793a02 /net/unix/sysctl_net_unix.c
parentf26a3988917913b3d11b2bd741601a2c64ab9204 (diff)
slob: Fix to return wrong pointer
Although slob_alloc return NULL, __kmalloc_node returns NULL + align. Because align always can be changed, it is very hard for debugging problem of no page if it don't return NULL. We have to return NULL in case of no page. [[email protected]: fix formatting as suggested by Matt.] Acked-by: Matt Mackall <[email protected]> Signed-off-by: MinChan Kim <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions