The solution here is to eliminate the device devices semaphore altogether. This eliminates netdev_semtake() and netdev_semgive() and replaces them with net_lock() and net_unlock() which have larger scope as needed for this purpose. |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Make.defs | ||
| net_chksum.c | ||
| net_dsec2tick.c | ||
| net_dsec2timeval.c | ||
| net_ipv6_maskcmp.c | ||
| net_ipv6_pref2mask.c | ||
| net_lock.c | ||
| net_timeval2dsec.c | ||
| utils.h | ||