--- zzzz-none-000/linux-5.15.111/net/core/sock.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/net/core/sock.c 2024-02-07 10:23:30.000000000 +0000 @@ -2238,6 +2238,11 @@ #endif skb->destructor = sock_wfree; skb_set_hash_from_sk(skb, sk); +#ifdef CONFIG_AVM_SK_TC_INDEX +#ifdef CONFIG_NET_SCHED + skb->tc_index = sk->sk_tc_index; +#endif +#endif /* * We used to take a refcount on sk, but following operation * is enough to guarantee sk_free() wont free this sock until