fc794d9a21
Merge pull request #15092 from bergzand/pr/suit/per_component_flags
...
suit: Introduce per-component flags
2020-09-29 15:03:06 +02:00
72ef2086b5
suit: Group the HAVE_COMPONENTS flag with the others
2020-09-29 13:09:32 +02:00
d9cf10c109
suit: Introduce per-component flags
2020-09-29 13:09:32 +02:00
benpicco
9970a26277
Merge pull request #15113 from kaspar030/fix_ztimer_spin
...
ztimer: fix ztimer_spin() time_left == duration case
2020-09-29 13:00:19 +02:00
70b160713e
ztimer: add comment explaining ztimer_spin() logic
2020-09-29 11:53:35 +02:00
Martine Lenders
f55031e65d
Merge pull request #15079 from miri64/gnrc_ipv6_nib/enh/multicast-6LN-UNREACHABLED-probe
...
gnrc_ipv6_nib: only multicast probe UNREACHABLE neighbor if 6LR
2020-09-29 11:49:27 +02:00
07a1dde684
ztimer: fix ztimer_spin() time_left == duration case
2020-09-29 11:23:28 +02:00
Martine Lenders
9631576b22
gnrc_ipv6_nib: make ARO extra status codes also available without 6LN
2020-09-29 10:45:12 +02:00
Martine Lenders
04f6e06dd4
gnrc_ipv6_nib: only multicast probe UNREACHABLE neighbor if 6LR
...
Non-routing 6LNs do not have to join the solicited nodes address, so
probing for a neighbor using that address may be in vain and only
spamming the LLN with unnecessary messages. RFC 6775 basically assumes
this in section 5.2:
> There is no need to join the solicited-node multicast address, since
> nobody multicasts NSs in this type of network.
2020-09-29 10:45:12 +02:00
Francisco
bfb8fc52b1
Merge pull request #15094 from bergzand/pr/suit/secure_fetch
...
SUIT: fail fetch if the image size doesn't match expected
2020-09-28 14:11:26 +02:00
ab0cc57997
suit: Only finish the flashwrite when mock is not active
...
This can be removed as soon as the SUIT module has a proper storage
abstraction
2020-09-28 13:03:40 +02:00
Martine Lenders
4a133a7d30
Merge pull request #15088 from maribu/sc_gnrc_icmpv6_echo
...
sys/shell/commands/gnrc_icmpv6_echo: Fix alignment
2020-09-28 11:30:08 +02:00
ad45506924
Merge pull request #15082 from leandrolanzieri/pr/sys/net/remove_routing
...
sys/net: remove unused routing directory
2020-09-27 15:55:30 +02:00
Juergen Fitschen
62fb4a2ade
Merge pull request #13661 from jue89/feature/evtimer_on_ztimer
...
sys/evtimer: introduce ZTIMER_MSEC as timer backend
2020-09-27 14:07:04 +02:00
91df9cae87
suit: Finalize image after digest verification
2020-09-26 14:40:14 +02:00
791155d3dd
suit/coap: fail fetch if the image size doesn't match expected
2020-09-26 13:34:50 +02:00
cdf45f9798
suit: Move policy check to before fetch
...
This prevents the whole payload fetch if the manifest fails the policy
check
2020-09-26 12:48:53 +02:00
Juergen Fitschen
dfec601dea
sys/evtimer: adjusted documentation for evtimer_on_ztimer
2020-09-25 18:55:01 +02:00
Marian Buschsieweke
5a04f48238
sys/shell/commands/gnrc_icmpv6_echo: Fix alignment
...
Fix unaligned memory access in `ping6` shell command
2020-09-25 12:42:02 +02:00
Francisco
ad9e35c445
Merge pull request #14436 from bergzand/pr/suit/ietf_v7
...
SUIT: Upgrade to draft-ietf-suit-manifest-09
2020-09-24 21:57:24 +02:00
c8ecc9c3ca
suit: Upgrade manifest parser to IETF-v9 compliance
2020-09-24 21:15:08 +02:00
Leandro Lanzieri
0cd94c7c67
sys/net: remove unused routing directory
2020-09-24 17:32:34 +02:00
f25398ae25
Merge pull request #15075 from benpicco/evtimer_warn
...
sys/evtimer: copy warning from xtimer
2020-09-24 16:28:44 +02:00
Martine Lenders
555c62de51
gnrc_ipv6_nib: set NCE stale on incoming ARO
...
In accordance with RFC 6775, section 5.2 an NCE should be set STALE
when an ARO renews the address registration for the address:
> The routers SHOULD NOT garbage-collect Registered NCEs (see
> Section 3.4), since they need to retain them until the Registration
> Lifetime expires. Similarly, if NUD on the router determines that
> the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE
> SHOULD NOT be deleted but rather retained until the Registration
> Lifetime expires. A renewed ARO should mark the cache entry as
> STALE. Thus, for 6LoWPAN routers, the Neighbor Cache doesn't behave
> like a cache. Instead, it behaves as a registry of all the host
> addresses that are attached to the router.
2020-09-24 13:13:43 +02:00
Juergen Fitschen
838d1007b3
gnrc/mac/timeout: add missing include
2020-09-24 13:06:47 +02:00
Benjamin Valentin
bb2b6adb7e
sys/evtimer: copy warning from xtimer
...
Callbacks from evtimer are still executed in interrupt context.
While xtimer warns about this, evtimer leaves the user unsuspecting.
Copy the warning from xtimer to keep users vigilant.
2020-09-24 11:52:56 +02:00
Juergen Fitschen
c3a20f8fb8
sys/evtimer: introduce ZTIMER_MSEC as timer backend
2020-09-24 11:30:26 +02:00
e719eaf97c
Merge pull request #15003 from kaspar030/ztimer_now64_tick
...
ztimer/core: ensure half-period tick when ztimer_now64 is used
2020-09-23 14:14:52 +02:00
Martine Lenders
711ea275e9
Merge pull request #15042 from maribu/gnrc_dont_include_xtimer_when_not_used
...
sys/net/gnrc/netif: Fix compilation on waspmote-pro
2020-09-23 13:37:36 +02:00
18852cf30c
ztimer/core: ensure half-period tick when ztimer_now64 is used
2020-09-23 13:11:29 +02:00
Martine Lenders
5e4c285323
Merge pull request #15056 from maribu/gnrc_pktbuf_static_alignment
...
sys/net/gnrc/pktbuf_static: Fix alignment
2020-09-22 17:07:07 +02:00
Martine Lenders
db6355fb13
Merge pull request #15054 from haukepetersen/fix_emcute_msgupdate
...
net/emcute: fix buffer overflow in _willupd_msg()
2020-09-22 15:51:05 +02:00
Marian Buschsieweke
28d4bf7751
sys/net/gnrc/pktbuf_static: Fix alignment
...
The buffer _pktbuf was previously only aligned to a 1 byte boundary. This could
result in run time issues.
2020-09-22 15:04:56 +02:00
Francisco
f3a5ee69e0
Merge pull request #14936 from kaspar030/ztimer_sleep_adjust
...
sys/ztimer: allow compensation of ztimer_sleep() overhead
2020-09-22 14:56:56 +02:00
Marian Buschsieweke
8a5d301caa
sys/net/gnrc/netif: Fix compilation on waspmote-pro
...
xtimer.h must not be included, when the xtimer module is not use. Otherwise
compilation on the waspmote-pro with https://github.com/RIOT-OS/RIOT/pull/14799
will not longer work. gnrc_netif_pktq includes xtimer.h and uses xtimer, but
gnrc_netif includes gnrc_netif_pktq.h regardless of whether gnrc_netif_pktq
is used. This makes sure that gnrc_netif_pktq.h is only included when actually
used.
2020-09-22 11:51:09 +02:00
Marian Buschsieweke
1d1b446d6b
sys/net/gnrc/netif: use IS_USED macro
2020-09-22 11:50:18 +02:00
Hauke Petersen
3b424858de
net/emcute: fix buffer overflow in _willupd_msg()
2020-09-22 11:43:00 +02:00
MichelRottleuthner
cdd1cd3ea2
Merge pull request #14978 from pokgak/xtimer/remove_set_absolute
...
xtimer: remove _xtimer_set_absolute
2020-09-21 10:03:25 +02:00
Marian Buschsieweke
7946eb766e
Merge pull request #15047 from kaspar030/fix_cdc_ecm_recv_return
...
sys/usb/usbus/cdc_ecm_netdev: fix _recv() return values
2020-09-18 22:45:13 +02:00
70d480c301
sys/usb/usbus/cdc_ecm_netdev: fix _recv() return values
...
Previously, the function would always return the max_len parameter.
This poses two issues:
1. the API requires to return the actual packet size
2. the API requires that if the packet is larger than max_len, the
packet is flushed and -ENOBUFS is returned
3. this basically bypasses the packet flushing, consequtive _recv()
would return the last packet again
This commit fixes those issues.
2020-09-18 21:04:15 +02:00
Marian Buschsieweke
0cb274c1eb
sys/net/gnrc: Fix include of xtimer.h
...
Make sure xtimer.h is only included if the xtimer module is actually used, as
otherwise compilation for the waspmote-pro fails.
2020-09-16 19:55:43 +02:00
benpicco
aac05cb393
Merge pull request #15024 from chrysn-pull-requests/declare-ull-constant
...
ipv6: Declare unsigned long long literal
2020-09-15 16:57:24 +02:00
chrysn
7e371bb1e6
ipv6: Declare unsigned long long literal
2020-09-15 12:55:29 +02:00
0ee2a8fa5f
sys/ztimer: fix auto_init doc
2020-09-14 18:05:09 +02:00
benpicco
819dc7de90
Merge pull request #14843 from benpicco/picolibc_stdio_offset
...
picolibc: enable read()/write() with !VFS, implement missing fs functions
2020-09-11 18:04:01 +02:00
benpicco
d7edd8cb71
Merge pull request #14986 from benpicco/sys/luid-shuffle
...
sys/luid: shuffle bytes
2020-09-11 16:02:52 +02:00
Benjamin Valentin
28d1936fae
sys/luid: shuffle bytes
...
The CPU ID can have large parts that are identical between devices.
To add some more entropy to the generated IDs, shuffle the bytes.
2020-09-11 13:01:31 +02:00
23fb19ad8d
Merge pull request #15009 from fjmolinas/pr_pipe_null_deref
...
sys/pipe/pipe_dynamic: fix possible null pointer dereference
2020-09-11 12:29:49 +02:00
Francisco Molina
ee379eb535
sys/pipe/pipe_dynamic: fix possible null pointer dereference
2020-09-11 11:19:58 +02:00
474cde6046
Merge pull request #15004 from kaspar030/ztimer_periodic_wakeup_32bit
...
ztimer: use uint32_t in ztimer_periodic_wakeup
2020-09-11 11:13:19 +02:00