summaryrefslogtreecommitdiff
path: root/net/ipv4/xfrm4_policy.c
diff options
context:
space:
mode:
authorKumar Amit Mehta <gmate.amit@gmail.com>2013-02-18 16:13:44 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-02-19 00:30:40 +0400
commitb53cf458ea20dd7f5e32611366f63728e40c9021 (patch)
treeba0f346b11ed66e242c845586bff11ab6b7ce61c /net/ipv4/xfrm4_policy.c
parent488ec878034eccb852267b0e27ce9d511f75c587 (diff)
downloadlinux-b53cf458ea20dd7f5e32611366f63728e40c9021.tar.xz
net: wireless: hostap: hostap_ap.c: Return -ENOMEM instead of -1 for if kmalloc() fails.
When memory allocation using, kmalloc() fails, report appropriate error value. Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ipv4/xfrm4_policy.c')
0 files changed, 0 insertions, 0 deletions