projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e443e38
)
net/llc: storing negative error codes in unsigned short
author
Dan Carpenter
<error27@gmail.com>
Thu, 16 Sep 2010 08:12:55 +0000
(08:12 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 17 Sep 2010 05:38:23 +0000
(22:38 -0700)
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
patch
|
blob
|
history
diff --git
a/net/llc/llc_station.c
b/net/llc/llc_station.c
index
e4dae02
..
cf4aea3
100644
(file)
--- a/
net/llc/llc_station.c
+++ b/
net/llc/llc_station.c
@@
-689,7
+689,7
@@
static void llc_station_rcv(struct sk_buff *skb)
int __init llc_station_init(void)
{
-
u16
rc = -ENOBUFS;
+
int
rc = -ENOBUFS;
struct sk_buff *skb;
struct llc_station_state_ev *ev;