From f33769c818cb1f01079405f543b36aa294764112 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Fri, 15 May 2026 11:40:00 +0200 Subject: lib: Use push/pop for ssm_pk_buff ops Renames the allocation for head/tail to push/pop instead of alloc/release as it's simpler and shorter. Took this approach insted of adopting the kernel's push/pull/put/trim. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/ipcpd/udp/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipcpd/udp') diff --git a/src/ipcpd/udp/udp.c b/src/ipcpd/udp/udp.c index 8fba5a77..05f69c21 100644 --- a/src/ipcpd/udp/udp.c +++ b/src/ipcpd/udp/udp.c @@ -605,7 +605,7 @@ static void * udp_ipcp_packet_writer(void * o) continue; } - buf = ssm_pk_buff_head_alloc(spb, OUR_HEADER_LEN); + buf = ssm_pk_buff_push(spb, OUR_HEADER_LEN); if (buf == NULL) { log_dbg("Failed to allocate header."); ipcp_spb_release(spb); -- cgit v1.2.3