Zhe Weng eb47312518 netdev_upper: Protect quota by spin lock to allow netpkt_xxx be called in interrupt context
Before atomic is ready on every platform, we need a way to protect
quota, previously it's protected by net_lock, but this makes netpkt_xxx
interfaces unable to be called under interrupt context, so changed to
spin lock. Also, we can easily change them into atomic under this
implementation.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-05-16 21:39:05 +08:00
..
2022-12-16 22:10:59 +02:00
2022-12-16 22:10:59 +02:00
2021-03-04 18:32:27 -08:00
2022-12-16 22:10:59 +02:00
2022-12-16 22:10:59 +02:00
2022-12-16 22:10:59 +02:00
2020-08-22 17:37:21 -06:00
2023-05-08 09:57:01 +02:00
2022-12-16 22:10:59 +02:00
2023-03-15 22:34:59 +01:00
2022-12-16 22:10:59 +02:00