linux/net/6lowpan
Alexander Aring 2306f65637 6lowpan: iphc: fix invalid case handling
This patch fixes the return value in a case which should never occur.
Instead returning "-EINVAL" we return LOWPAN_IPHC_DAM_00 which is
invalid on context based addresses. Also change the WARN_ON_ONCE to
WARN_ONCE which was suggested by Dan Carpenter.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2016-02-26 09:08:15 +01:00
..
6lowpan_i.h 6lowpan: add debugfs support 2015-12-10 01:25:25 +01:00
core.c 6lowpan: iphc: add support for stateful compression 2016-02-23 20:29:40 +01:00
debugfs.c 6lowpan: iphc: add support for stateful compression 2016-02-23 20:29:40 +01:00
iphc.c 6lowpan: iphc: fix invalid case handling 2016-02-26 09:08:15 +01:00
Kconfig 6lowpan: add debugfs support 2015-12-10 01:25:25 +01:00
Makefile 6lowpan: add debugfs support 2015-12-10 01:25:25 +01:00
nhc_dest.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_fragment.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_ghc_ext_dest.c 6lowpan: add nhc module for GHC destination extension header detection 2015-12-10 01:25:25 +01:00
nhc_ghc_ext_frag.c 6lowpan: add nhc module for GHC fragmentation extension header detection 2015-12-10 01:25:25 +01:00
nhc_ghc_ext_hop.c 6lowpan: add nhc module for GHC hop-by-hopextension header detection 2015-12-10 01:25:24 +01:00
nhc_ghc_ext_route.c 6lowpan: add nhc module for GHC routing extension header detection 2015-12-10 01:25:25 +01:00
nhc_ghc_icmpv6.c 6lowpan: add nhc module for GHC ICMPv6 detection 2015-12-10 01:25:24 +01:00
nhc_ghc_udp.c 6lowpan: add nhc module for GHC UDP detection 2015-12-10 01:25:24 +01:00
nhc_hop.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_ipv6.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_mobility.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_routing.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_udp.c 6lowpan: move IPHC functionality defines 2015-10-21 00:49:25 +02:00
nhc.c 6lowpan: nhc: move iphc manipulation out of nhc 2015-10-21 00:49:25 +02:00
nhc.h 6lowpan: nhc: move iphc manipulation out of nhc 2015-10-21 00:49:25 +02:00