mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Merge in the left-over fixes before the net-next pull-request. Conflicts: drivers/net/ethernet/mediatek/mtk_ppe.cae3ed15da5
("net: ethernet: mtk_eth_soc: fix state in __mtk_foe_entry_clear")9d8cb4c096
("net: ethernet: mtk_eth_soc: add foe_entry_size to mtk_eth_soc") https://lore.kernel.org/all/6cb6893b-4921-a068-4c30-1109795110bb@tessares.net/ kernel/bpf/helpers.c8addbfc7b3
("bpf: Gate dynptr API behind CAP_BPF")5679ff2f13
("bpf: Move bpf_loop and bpf_for_each_map_elem under CAP_BPF")8a67f2de9b
("bpf: expose bpf_strtol and bpf_strtoul to all program types") https://lore.kernel.org/all/20221003201957.13149-1-daniel@iogearbox.net/ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
e52f7c1ddf
45 changed files with 264 additions and 120 deletions
|
@ -569,12 +569,6 @@ static void unix_sock_destructor(struct sock *sk)
|
|||
|
||||
skb_queue_purge(&sk->sk_receive_queue);
|
||||
|
||||
#if IS_ENABLED(CONFIG_AF_UNIX_OOB)
|
||||
if (u->oob_skb) {
|
||||
kfree_skb(u->oob_skb);
|
||||
u->oob_skb = NULL;
|
||||
}
|
||||
#endif
|
||||
DEBUG_NET_WARN_ON_ONCE(refcount_read(&sk->sk_wmem_alloc));
|
||||
DEBUG_NET_WARN_ON_ONCE(!sk_unhashed(sk));
|
||||
DEBUG_NET_WARN_ON_ONCE(sk->sk_socket);
|
||||
|
@ -620,6 +614,13 @@ static void unix_release_sock(struct sock *sk, int embrion)
|
|||
|
||||
unix_state_unlock(sk);
|
||||
|
||||
#if IS_ENABLED(CONFIG_AF_UNIX_OOB)
|
||||
if (u->oob_skb) {
|
||||
kfree_skb(u->oob_skb);
|
||||
u->oob_skb = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
wake_up_interruptible_all(&u->peer_wait);
|
||||
|
||||
if (skpair != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue