]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net/llc: storing negative error codes in unsigned short
authorDan Carpenter <error27@gmail.com>
Thu, 16 Sep 2010 08:12:55 +0000 (08:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Sep 2010 05:38:23 +0000 (22:38 -0700)
commit2507136f74f70a4869bd4f525d48715ae66db43d
treea0dbb80d26c3c97935ddb549f2cab0d7c78aab3d
parente443e383242839b0d72efce744b7ba31573b1f99
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>
net/llc/llc_station.c