Yonezawa-T2
c9c83c7dc7
nc: cancel timer set by gnrc_ndp_rtr_sol_handle
in gnrc_ipv6_nc_remove
.
2016-01-07 10:12:46 +09:00
Yonezawa-T2
542e045bba
gnrc_ipv6_netif: fixed crash when ENABLE_DEBUG is 1.
...
When ENABLE_DEBUG is 1, `out` is dereferenced unconditionally, but
`_parse_options` in `gnrc_rpl_control_messages.c` calls it with NULL.
Clarified `out` must not NULL and fixed `_parse_options`.
2016-01-07 10:08:37 +09:00
Yonezawa-T2
5cb904b57e
gnrc_sixlowpan_nd: fixed crash on gnrc_sixlowpan_nd_next_hop_l2addr.
...
When `gnrc_ndp_node_next_hop_l2addr` cannot resolve L2 address, it creates a
temporary neighbor cache entry with interface `KERNEL_PID_UNDEF` (unless the
interface is already known) to send a neighbor solicitation. When another packet
directed to the same address is going to sent before receiving a neighbor
advertisement, `gnrc_sixlowpan_nd_next_hop_l2addr` gets the temporary neighbor
cache entry and calls `gnrc_ipv6_netif_get` with `KERNEL_PID_UNDEF`, resulting
get a `NULL`. We must check `NULL` before dereference it.
FYI, both `gnrc_ndp_node_next_hop_l2addr` and
`gnrc_sixlowpan_nd_next_hop_l2addr` are enabled when
`gnrc_sixlowpan_border_router_default` module is enabled with `GNRC_NETIF_NUMOF`
is greater than 1:
gnrc_sixlowpan_border_router_default
→ gnrc_ipv6_router_default
→ gnrc_ndp_router (if GNRC_NETIF_NUMOF > 1)
→ gnrc_ndp_node
→ gnrc_ndp_node_next_hop_l2addr is called from _next_hop_l2addr
gnrc_sixlowpan_border_router_default
→ gnrc_sixlowpan_nd_border_router
→ gnrc_sixlowpan_nd_router
→ gnrc_sixlowpan_nd
→ gnrc_sixlowpan_nd_next_hop_l2addr is called from _next_hop_l2addr
2016-01-07 10:02:49 +09:00
Oleg Hahm
a39862b5a6
Merge pull request #4503 from OlegHahm/make_native_use_tlsf
...
native: make use of TLSF malloc and co
2016-01-05 23:09:56 +01:00
DipSwitch
6c521916cd
Merge pull request #4559 from thomaseichinger/pr/fix_tftp_formating
...
tftp: fix formatting warnings/errors
2016-01-05 20:26:40 +01:00
Thomas Eichinger
a43cbd17ff
tfpt: fix formating warnings/errors
2016-01-05 14:59:34 +01:00
Hauke Petersen
94c0cc86af
Merge pull request #4504 from PeterKietzmann/extend_gpio_api
...
periph/gpio: extend gpio API doc
2016-01-05 12:04:22 +01:00
Hauke Petersen
10cf51adda
Merge pull request #4506 from PeterKietzmann/extend_uart_doc
...
periph/uart: extend uart API doc
2016-01-05 12:03:02 +01:00
Cenk Gündoğan
ce388a4805
Merge pull request #4566 from kaspar030/disable_nhc
...
sys: net: disable NHC
2016-01-04 22:29:37 +01:00
Cenk Gündoğan
5b58538613
Merge pull request #4570 from OlegHahm/ccn_lite_pkg_pin
...
pkg: ccn-lite: pin to upstream commit
2016-01-04 22:25:24 +01:00
Oleg Hahm
42b11fcb50
pkg: ccn-lite: pin to upstream commit
2016-01-04 19:08:33 +01:00
Cenk Gündoğan
9d18b4ed34
Merge pull request #4524 from authmillenon/unittests/fix/sr_fib
...
unittests: some fixes to fib_sr tests
2016-01-04 17:50:07 +01:00
Cenk Gündoğan
e79a471931
Merge pull request #4533 from Yonezawa-T2/gnrc_add_missing_unlock
...
gnrc_ndp_internal: add missing unlock when the pktbuf is full
2016-01-04 16:05:17 +01:00
f44976b55e
sys: net: disable NHC
2016-01-04 11:44:42 +01:00
Oleg Hahm
6d135d3579
native: make use of TLSF malloc and co
...
In order to make native behave more similar to other platforms, it should also use TLSF's dynamic memory allocation if included. It will still fall back to the system's malloc implementation when building for use with valgrind, to leverage its memory leak detection mechanisms.
2016-01-03 20:53:08 +01:00
Yonezawa-T2
38d3dc725b
gnrc_ndp_internal: add missing unlock when the pktbuf is full
...
Squashed a commit by Cenk Gündoğan <cnkgndgn@gmail.com>.
2015-12-25 11:08:28 +09:00
Martine Lenders
36923341f0
Merge pull request #4540 from cgundogan/pr/sixlowpan/udp_dependencies
...
sixlowpan: iphc: fix dependencies for udp and nhc
2015-12-23 15:14:06 +01:00
Cenk Gündoğan
7d628514ab
sixlowpan: iphc: fix dependencies for udp and nhc
2015-12-23 13:57:55 +01:00
Cenk Gündoğan
7d6addc0e9
Merge pull request #4539 from cgundogan/pr/gnrc_sixlowpan/remove_iphc_dispatch
...
sixlowpan: iphc: remove dispatch and assign result to pkt
2015-12-22 21:35:21 +01:00
Cenk Gündoğan
237706dd9e
sixlowpan: iphc: remove dispatch and assign result to pkt
2015-12-22 20:54:39 +01:00
Cenk Gündoğan
17e21e33cc
Merge pull request #4485 from authmillenon/gnrc_sixlowpan/fix/nhc-iphc
...
gnrc_sixlowpan: Fix IPHC/NHC packet order problem
2015-12-22 20:53:04 +01:00
Martine Lenders
21beaa7529
gnrc_udp: fix false assumed packet order
2015-12-22 17:14:33 +01:00
Martine Lenders
d342d35dd8
gnrc_sixlowpan: Fix IPHC/NHC packet order problem
2015-12-22 17:14:33 +01:00
Martine Lenders
6638fa4f48
Merge pull request #4525 from authmillenon/uncrustify/fix/align
...
uncrustify: don't use tabs for alignment and don't align struct initializations
2015-12-22 16:14:10 +01:00
PeterKietzmann
4c41f7a994
periph/uart: extend uart API doc
2015-12-22 16:11:21 +01:00
PeterKietzmann
d251b604ad
periph/gpio: extend gpio API doc
2015-12-22 16:10:37 +01:00
Oleg Hahm
b7a7578e21
Merge pull request #4507 from authmillenon/gnrc_ipv6/fix/no-order-assumptions
...
gnrc_ipv6: make no pre-assumption about any marked headers
2015-12-22 11:18:47 +01:00
Oleg Hahm
83649ddb59
Merge pull request #4531 from Yonezawa-T2/gnrc_avoid_infinite_loop
...
sixlowpan: fixed infinite loop
2015-12-22 11:11:55 +01:00
Martine Lenders
34974abac2
Merge pull request #4534 from Yonezawa-T2/gnrc_off_by_1_overrun
...
gnrc_ipv6_netif: fixed buffer overrun
2015-12-22 10:29:57 +01:00
Martine Lenders
5b4ef433a8
Merge pull request #4532 from Yonezawa-T2/gnrc_safe_no_routers
...
gnrc_sixlowpan_nd: fixed crash when there are no routers
2015-12-22 09:15:49 +01:00
Yonezawa-T2
08ba1f8640
gnrc_ipv6_netif: fixed buffer overrun
2015-12-22 11:30:05 +09:00
Yonezawa-T2
fe0e58dce1
gnrc_sixlowpan_nd: fixed crash when there are no routers
2015-12-22 11:29:57 +09:00
Yonezawa-T2
9108d2779d
sixlowpan: fixed infinite loop
...
When prefix entry is resued, it may form a looped list, results in infinite loop
in gnrc_ndp_internal_send_rtr_adv.
This patch avoids looped lists.
2015-12-22 11:29:04 +09:00
2d8f6f8a92
Merge pull request #4500 from haukepetersen/fix_doc_samd21
...
doc: added samd21 vendor header to doxygen excludes
2015-12-21 18:20:00 +01:00
Martine Lenders
293c71dd8b
uncrustify: don't align struct initializations
2015-12-19 22:14:07 +01:00
Martine Lenders
b028518840
uncrustify: don't use tabs for alignment
2015-12-19 22:13:49 +01:00
Martine Lenders
3b9c9abad8
unittests: fix formatting of fib_sr tests
2015-12-19 21:58:40 +01:00
Martine Lenders
e664507f00
unittests: some fixes to fib_sr tests
2015-12-19 21:56:50 +01:00
Lotte Steenbrink
1ac9a0d227
Merge pull request #4480 from authmillenon/doc/enh/creating-modules
...
doc: add page about creating modules
2015-12-19 13:29:04 +00:00
Martine Lenders
b5f5f8314a
doc: add page about creating modules
2015-12-19 14:18:18 +01:00
Martine Lenders
9eb367a915
Merge pull request #4520 from jfischer-phytec-iot/pr@set_lladdr_if_sllao_was_included
...
gnrc_ndp.c: parsing of SLLAO in gnrc_ndp_rtr_sol_handle
2015-12-19 14:17:11 +01:00
Johann F
adfcef4f7b
gnrc_ndp.c: parsing of SLLAO in gnrc_ndp_rtr_sol_handle
...
Do not set the link-layer address if no SLLAO was included
into the router solicitation.
2015-12-19 01:16:24 +01:00
Martine Lenders
8ec1fd4f38
Merge pull request #4516 from authmillenon/tests/fix/deactivate-relic2
...
unittests: deactivate relic tests for all but native
2015-12-19 00:52:47 +01:00
Martine Lenders
fa7df9adb2
unittests: deactivate relic tests for all but native
2015-12-18 23:48:32 +01:00
Martine Lenders
5f54b857e7
Merge pull request #4515 from RIOT-OS/revert-4514-tests/fix/deactivate-relic
...
Revert "unittests: deactivate relic tests for all but native"
2015-12-18 23:45:09 +01:00
Martine Lenders
d1d39fd3cf
Revert "unittests: deactivate relic tests for all but native"
2015-12-18 23:44:58 +01:00
Martine Lenders
96236efe6b
Merge pull request #4514 from authmillenon/tests/fix/deactivate-relic
...
unittests: deactivate relic tests for all but native
2015-12-18 23:44:40 +01:00
Martine Lenders
5ddf15c97f
Merge pull request #4509 from authmillenon/ipv6_hdr/fix/ipv6_addr_dep
...
ipv6_hdr: add ipv6_addr as dependency
2015-12-18 23:43:41 +01:00
Martine Lenders
18ab5bf898
unittests: deactivate relic tests for all but native
2015-12-18 23:40:20 +01:00
Martine Lenders
dfd741f95d
ipv6_hdr: add ipv6_addr as dependency
2015-12-18 20:59:58 +01:00