mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 09:03:49 +08:00
Start working on task #14780: Add debug helper asserts to ensure threading/locking requirements are met
This commit is contained in:
@@ -422,6 +422,8 @@ ip4_input(struct pbuf *p, struct netif *inp)
|
||||
int check_ip_src = 1;
|
||||
#endif /* IP_ACCEPT_LINK_LAYER_ADDRESSING || LWIP_IGMP */
|
||||
|
||||
LWIP_ASSERT_CORE_LOCKED();
|
||||
|
||||
IP_STATS_INC(ip.recv);
|
||||
MIB2_STATS_INC(mib2.ipinreceives);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user