]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: rtl8723bs: use standard skb allocation APIs
authorMinu Jin <s9430939@naver.com>
Wed, 4 Feb 2026 13:13:46 +0000 (22:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2026 13:35:32 +0000 (14:35 +0100)
commit9fe6f146a3b24e0c8232f817f19d364084d24745
tree10d18b84ba9a1e5b74cbaf1d61b805b8d1e55eaa
parent980cd426a25747daf8ed25e2a1904b2d26ffbb3d
staging: rtl8723bs: use standard skb allocation APIs

Replace custom wrappers rtw_skb_alloc() and rtw_skb_copy() with
standard kernel APIs __dev_alloc_skb() and skb_copy().

About GFP Flags:
- GFP_ATOMIC is used for allocations in atomic contexts such as
  spinlock-protected sections, tasklets, and timer handlers.
- GFP_KERNEL is used for process contexts where sleeping is allowed.

Signed-off-by: Minu Jin <s9430939@naver.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Link: https://patch.msgid.link/20260204131347.3515949-5-s9430939@naver.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_recv.c
drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
drivers/staging/rtl8723bs/hal/sdio_ops.c
drivers/staging/rtl8723bs/os_dep/xmit_linux.c