mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-16 16:21:53 +00:00
nss-drv: additional fixes for kernel 6.12
Fixes the following sysctl table check failures: [Tue May 27 17:37:40 2025] sysctl table check failed: dev/nss/ppe_vp/(null) procname is null [Tue May 27 17:37:40 2025] sysctl table check failed: dev/nss/ppe_vp/(null) No proc_handler [Tue May 27 17:37:40 2025] sysctl table check failed: dev/nss/pppoe/(null) procname is null [Tue May 27 17:37:40 2025] sysctl table check failed: dev/nss/pppoe/(null) No proc_handler Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
9762fbaabe
commit
54d105f7ca
@ -667,6 +667,16 @@
|
|||||||
{
|
{
|
||||||
int32_t if_num;
|
int32_t if_num;
|
||||||
struct nss_ctx_instance *nss_ctx = nss_ppe_vp_get_context();
|
struct nss_ctx_instance *nss_ctx = nss_ppe_vp_get_context();
|
||||||
|
@@ -779,8 +779,7 @@ static struct ctl_table nss_ppe_vp_table
|
||||||
|
.maxlen = sizeof(nss_ppe_vp_cmd),
|
||||||
|
.mode = 0644,
|
||||||
|
.proc_handler = &nss_ppe_vp_destroy_handler,
|
||||||
|
- },
|
||||||
|
- { }
|
||||||
|
+ }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct ctl_table_header *nss_ppe_vp_procfs_header;
|
||||||
--- a/nss_pppoe.c
|
--- a/nss_pppoe.c
|
||||||
+++ b/nss_pppoe.c
|
+++ b/nss_pppoe.c
|
||||||
@@ -203,7 +203,7 @@ static void nss_pppoe_handler(struct nss
|
@@ -203,7 +203,7 @@ static void nss_pppoe_handler(struct nss
|
||||||
|
|||||||
@ -675,6 +675,16 @@
|
|||||||
{
|
{
|
||||||
int32_t if_num;
|
int32_t if_num;
|
||||||
struct nss_ctx_instance *nss_ctx = nss_ppe_vp_get_context();
|
struct nss_ctx_instance *nss_ctx = nss_ppe_vp_get_context();
|
||||||
|
@@ -779,8 +779,7 @@ static struct ctl_table nss_ppe_vp_table
|
||||||
|
.maxlen = sizeof(nss_ppe_vp_cmd),
|
||||||
|
.mode = 0644,
|
||||||
|
.proc_handler = &nss_ppe_vp_destroy_handler,
|
||||||
|
- },
|
||||||
|
- { }
|
||||||
|
+ }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct ctl_table_header *nss_ppe_vp_procfs_header;
|
||||||
--- a/nss_pppoe.c
|
--- a/nss_pppoe.c
|
||||||
+++ b/nss_pppoe.c
|
+++ b/nss_pppoe.c
|
||||||
@@ -203,7 +203,7 @@ static void nss_pppoe_handler(struct nss
|
@@ -203,7 +203,7 @@ static void nss_pppoe_handler(struct nss
|
||||||
@ -686,6 +696,16 @@
|
|||||||
{
|
{
|
||||||
struct nss_ctx_instance *nss_ctx = nss_pppoe_get_context();
|
struct nss_ctx_instance *nss_ctx = nss_pppoe_get_context();
|
||||||
struct nss_pppoe_msg npm;
|
struct nss_pppoe_msg npm;
|
||||||
|
@@ -349,8 +349,7 @@ static struct ctl_table nss_pppoe_table[
|
||||||
|
.maxlen = sizeof(int),
|
||||||
|
.mode = 0644,
|
||||||
|
.proc_handler = &nss_pppoe_br_accel_mode_handler,
|
||||||
|
- },
|
||||||
|
- { }
|
||||||
|
+ }
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct ctl_table_header *nss_pppoe_header;
|
||||||
--- a/nss_project.c
|
--- a/nss_project.c
|
||||||
+++ b/nss_project.c
|
+++ b/nss_project.c
|
||||||
@@ -235,7 +235,7 @@ static void nss_project_msg_handler(stru
|
@@ -235,7 +235,7 @@ static void nss_project_msg_handler(stru
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user