diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2025-07-15 20:07:09 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-16 16:14:42 -0700 |
commit | 6c628ed95e1b41f98766268593196adb7a0cb9a7 (patch) | |
tree | f29083868103debeb53586cf7a7e6a0ce173c0c2 /net/lapb/lapb_iface.c | |
parent | 47ee43e4bf50be16a142df1bf51e04b4bc5a6cdc (diff) |
ipv6: mcast: Simplify mld_clear_{report|query}()
Use __skb_queue_purge() instead of re-implementing it. Note that it uses
kfree_skb_reason() instead of kfree_skb() internally, and pass
SKB_DROP_REASON_QUEUE_PURGE drop reason to the kfree_skb tracepoint.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20250715120709.3941510-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions