1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

9623 Commits

Author SHA1 Message Date
Martine Lenders
e9d709b2a1 Merge pull request #4632 from Yonezawa-T2/ncache_l2addr_str_parsing
shell: fixed ncache arguments parsing
2016-01-13 07:26:37 +01:00
Yonezawa-T2
b37d6337bf shell: fixed ncache arguments parsing 2016-01-13 10:02:36 +09:00
Cenk Gündoğan
7da0d398c4 Merge pull request #4627 from cgundogan/pr/gitignore/ccn-lite
gitignore: add ccn-lite
2016-01-10 18:52:59 +01:00
Martine Lenders
0ba0449f04 Merge pull request #4625 from cgundogan/pr/release_notes
2015.12: added release notes
2016-01-10 17:03:14 +01:00
Cenk Gündoğan
71eb414333 gitignore: add ccn-lite 2016-01-10 16:36:57 +01:00
Cenk Gündoğan
4d69f76660 2015.12: added release notes 2016-01-10 12:34:34 +01:00
Martine Lenders
398a81c287 Merge pull request #4615 from cgundogan/pr/travis/branch
travis: pass the proper branch to compile_test.py
2016-01-08 17:17:41 +01:00
Cenk Gündoğan
c35cf98e19 Merge pull request #4619 from OlegHahm/tests_msg_snd_rcv_prios
tests: swap thread priorities in msg_snd_rcv test
2016-01-08 16:14:44 +01:00
Martine Lenders
484b369488 Merge pull request #4618 from cgundogan/pr/travis/trusty
travis: upgrade to trusty (beta)
2016-01-08 15:21:12 +01:00
Oleg Hahm
08ada181b3 Merge pull request #4588 from OlegHahm/posix_socket_sa_family_type
posix socket: align size of sa_family_t with Linux
2016-01-08 15:12:52 +01:00
Oleg Hahm
0ab1d4bed1 tests: swap thread priorities in msg_snd_rcv test
c3f7925c1c was the wrong fix for the described problem. The replying thread 2 needs a higher priority because otherwise the sender thread 1 may send before 2 is in receiving mode again.
2016-01-08 14:16:30 +01:00
Cenk Gündoğan
2cd2738eb3 Merge pull request #4585 from kaspar030/fix_native_timer_set_absolute
cpu: native: fix native timer_set_absolute()
2016-01-07 23:31:22 +01:00
Cenk Gündoğan
cdbf6368dc travis: upgrade to trusty 2016-01-07 23:26:28 +01:00
781ee875aa tests: xtimer_now64_continuity: initial commit 2016-01-07 19:33:40 +01:00
Cenk Gündoğan
461365f390 Merge pull request #4602 from jfischer-phytec-iot/fix@of-gnrc_pktbuf_realloc_data
gnrc_pktbuf_static.c: fix overflow in gnrc_pktbuf_realloc_data
2016-01-07 19:33:17 +01:00
Cenk Gündoğan
e62a655b03 travis: pass the proper branch to compile_test.py 2016-01-07 18:39:32 +01:00
Martine Lenders
31e40467c3 Merge pull request #4606 from thomaseichinger/pr/tests_xtimer_hang_fix
tests:xtimer_hang: use THREAD_STACKSIZE_DEFAULT instead of literal.
2016-01-07 16:58:18 +01:00
Oleg Hahm
a8036ebe21 Merge pull request #4593 from thomaseichinger/pr/fix_fault_handler
tests: allow language extensions for fault_handler test in clang
2016-01-07 16:38:17 +01:00
Martine Lenders
d48a8230f9 unittests: add unittests for overflow fix 2016-01-07 15:17:52 +01:00
Johann Fischer
2f94d669d7 gnrc_pktbuf_static.c: fix overflow in gnrc_pktbuf_realloc_data
This patch fixes overflow, which is caused by
(pkt->size - aligned_size). This happens if pkt->size and
new size are unaligned and the difference
between pkt->size and new size is less than four.
2016-01-07 15:17:52 +01:00
Thomas Eichinger
f5310bfd5e tests:xtimer_hang: use THREAD_STACKSIZE_DEFAULT instead of literal. 2016-01-07 13:57:22 +01:00
Hauke Petersen
26f9f7fa2d Merge pull request #4600 from kaspar030/remove_test_vtimer_msg
tests: remove vtimer tests
2016-01-07 13:40:04 +01:00
Thomas Eichinger
4f502a4a61 tests: allow language extensions for fault_handler test in clang 2016-01-07 13:38:12 +01:00
Oleg Hahm
35074a6ad1 posix socket: align size of sa_family_t with Linux
Linux defines `sa_family_t` as `unsigned short int`. In order to be compatible with Linux code, RIOT should define it the same way.
2016-01-07 11:12:35 +01:00
Oleg Hahm
97352463d8 Merge pull request #4603 from jfischer-phytec-iot/fix@kw2xrf-pkt-length
drivers/kw2xrf/kw2xrf.c: fix MAX_PKT_LENGTH
2016-01-07 10:56:07 +01:00
Martine Lenders
94e4a08f45 Merge pull request #4447 from Yonezawa-T2/fix_gnrc_bugs
fixes several bugs on GNRC network stack
2016-01-07 03:38:11 +01:00
Yonezawa-T2
cf35763584 fib: add debug outputs 2016-01-07 10:12:46 +09:00
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
Johann F
97120f1cce drivers/kw2xrf/kw2xrf.c: fix MAX_PKT_LENGTH
This patch fixes MAX_PKT_LENGTH on kw2x radio
2016-01-07 01:37:00 +01:00
2488bbf4a1 tests: remove vtimer tests 2016-01-06 22:10:59 +01:00
5f44a6938d cpu: native: adapt xtimer backoff values to periph/timer change 2016-01-06 22:07:13 +01:00
ceaeee5c5d Revert "native: periph/timer: prevent underflow in timer_set_absolute"
This reverts commit ec441e9aa6.
2016-01-06 22:07:13 +01:00
Cenk Gündoğan
6a28814cf9 Merge pull request #4592 from thomaseichinger/pr/fix_vtimer_msg_diff_clang
tests: fix clang missing field error
2016-01-06 21:36:32 +01:00
Cenk Gündoğan
17ce29d1a1 Merge pull request #4591 from authmillenon/pkg/fix/oonf-source
pkg: oonf_api: move source
2016-01-06 21:31:37 +01:00
Thomas Eichinger
ebf8bfa4ce tests: fix clang missing field error
Without this clang complains about missing initializers.
`error: missing field 'microseconds' initializer [-Werror,-Wmissing-field-initializers]`
2016-01-06 17:21:24 +01:00
Martine Lenders
d62ffae52a pkg: oonf_api: move source 2016-01-06 16:21:36 +01:00
Martine Lenders
86bf9ae4c4 Merge pull request #4584 from BytesGalore/quickfix_default_route_shell
shell fib: recognize the default route as net prefix
2016-01-06 15:33:44 +01:00
BytesGalore
b8ba3f589f shell fib: recognize the default route as net prefix 2016-01-06 15:51:44 +01:00
Cenk Gündoğan
c7dec59241 Merge pull request #4580 from authmillenon/shell/fix/nano
shell: commands: fix selective outputs for nano specs
2016-01-06 14:23:27 +01:00
Martine Lenders
a4a8e83ac7 Merge pull request #4446 from Yonezawa-T2/neighbor_discovery_option_for_6lowpan
gnrc_ndp: fixed ND Option handling for 6LoWPAN
2016-01-06 14:03:43 +01:00
Yonezawa-T2
639f7dc020 gnrc_ndp: fixed ND Option handling for 6LoWPAN
The forms of the Source/Target Link-layer Address option for 6LoWPAN are defined
in RFC 4944 Section 8:
https://tools.ietf.org/html/rfc4944#section-8
The address is 16 bit if length is 1, 64 bit if length is 2.
2016-01-06 09:38:47 +09:00
Martine Lenders
950b80cce7 shell: commands: fix nano specs issues for ifconfig command 2016-01-05 23:17:07 +01:00
Martine Lenders
921f9d440c shell: commands: fix nano specs issues for ping6 command 2016-01-05 23:17:07 +01: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