gnrc_netif_lorawan: add missing NULL check [backport 2021.01]#16120
Conversation
|
@miri64 any idea of why the python-tests action is failing? |
|
(it happens due to a newer version of |
|
This needs rebasing |
d4460e2 to
f356f06
Compare
|
done! |
|
The CI is showing a lot of unrelated errors :/ |
|
Was there a toolchain update in the docker container? |
Yes MIPS toolchain was updated after the release, which could explain the issue RIOT-OS/riotdocker#107 |
|
Is there a PR that fixed the issues? |
|
Versioned docker containers would be great ;-). |
Can't find one... |
|
I think #16042 should be backported. |
|
@leandrolanzieri can you rebase? CI should pass now. |
@jia200x 's PR :) |
(cherry picked from commit 2756302)
|
done! |
f356f06 to
b1f02c9
Compare
|
thanks everybody for the review and related backports!! |
|
🎉 hardest backport ever ^^ |
Backport of #16110
Contribution description
This PR adds a missing NULL check when allocating a
gnrc_pktsnip_ton reception. If the pktbuf is full, GNRC netif doesn't return immediately.This PR fixes that.
Testing procedure
Configure the Network Server to send a downlink to the node and try this patch:
It should print "gnrc_lorawan: mcps_indication: couldn't allocate pktbuf" when a packet is received
Issues/PRs references
None so far