summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-09-16 08:12:55 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-16 22:38:23 -0700
commit2507136f74f70a4869bd4f525d48715ae66db43d (patch)
treea0dbb80d26c3c97935ddb549f2cab0d7c78aab3d /net/socket.c
parente443e383242839b0d72efce744b7ba31573b1f99 (diff)
downloadop-kernel-dev-2507136f74f70a4869bd4f525d48715ae66db43d.zip
op-kernel-dev-2507136f74f70a4869bd4f525d48715ae66db43d.tar.gz
net/llc: storing negative error codes in unsigned short
If the alloc_skb() fails then we return 65431 instead of -ENOBUFS (-105). Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud