nss-clients: [nss-qdisc] Replace add_timer() to mod_timer()

commit 1bcef1647804d08e3d00b6f651086878786494e0 (HEAD, origin/NHSS.QSDK.12.5)
Author:     Manish Verma <quic_maniverm@quicinc.com>
AuthorDate: Wed Jun 12 18:05:27 2024 +0530
Commit:     Manish Verma <quic_maniverm@quicinc.com>
CommitDate: Mon Jun 24 22:04:14 2024 -0700

    [nss-qdisc] Replace add_timer() to mod_timer()

    For the unserialized modification of the timer's timerout, mod_timer()
    API seems to be better suited as compared to the add_timer() API

    Change-Id: I53fbb6174b975571dd3cc5cdd4ac3561903e178b
    Signed-off-by: Manish Verma <quic_maniverm@quicinc.com>
    (cherry picked from commit 55146834637d55f081f843e7330d4f1e7fe886dc)

Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
Sean Khan 2024-07-08 10:05:11 -04:00
parent 19f6ecc012
commit afa7e180cd
2 changed files with 6 additions and 6 deletions

View File

@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=qca-nss-clients
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-clients.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2024-03-05
PKG_SOURCE_VERSION:=9a53b18
PKG_MIRROR_HASH:=6d60fa6d8d373bc28fbebc72b331e7d4e0c831cd4821106e255c9ad506499f90
PKG_SOURCE_DATE:=2024-06-12
PKG_SOURCE_VERSION:=1bcef16
PKG_MIRROR_HASH:=5388c9ba1ba66b2a237426bf4762da90ff2893fa5cd324ff6fbe59c8c722608a
QSDK_VERSION:=12.5
PKG_VERSION:=$(QSDK_VERSION).$(subst -,.,$(PKG_SOURCE_DATE))~$(PKG_SOURCE_VERSION)

View File

@ -166,7 +166,7 @@
#endif
--- a/nss_qdisc/nss_qdisc_stats.c
+++ b/nss_qdisc/nss_qdisc_stats.c
@@ -160,7 +160,7 @@ static void nss_qdisc_stats_process_node
@@ -161,7 +161,7 @@ static void nss_qdisc_stats_process_node
{
struct Qdisc *qdisc;
struct nss_qdisc *nq;
@ -175,7 +175,7 @@
struct gnet_stats_queue *qstats;
uint32_t qos_tag = response->qos_tag;
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 13, 0))
@@ -214,8 +214,8 @@ static void nss_qdisc_stats_process_node
@@ -215,8 +215,8 @@ static void nss_qdisc_stats_process_node
* Update qdisc->bstats
*/
spin_lock_bh(&nq->lock);