projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
6lowpan: iphc: fix invalid case handling
[deliverable/linux.git]
/
net
/
6lowpan
/
iphc.c
diff --git
a/net/6lowpan/iphc.c
b/net/6lowpan/iphc.c
index 06287ac0321115b58f5c2cdbead0b2fc64e54e95..72172514fea063a34ed2e1314d1a996db6a38015 100644
(file)
--- a/
net/6lowpan/iphc.c
+++ b/
net/6lowpan/iphc.c
@@
-811,8
+811,8
@@
static u8 lowpan_compress_ctx_addr(u8 **hc_ptr, const struct in6_addr *ipaddr,
goto out;
}
- WARN_ON
_ONCE(
"context found but no address mode matched\n");
- return
-EINVAL
;
+ WARN_ON
CE(1,
"context found but no address mode matched\n");
+ return
LOWPAN_IPHC_DAM_00
;
out:
if (sam)
This page took
0.036949 seconds
and
5
git commands to generate.