From 996f02e5bafad2815e72821c19d41fb5297e4dad Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Tue, 21 Jan 2020 10:42:33 +0100 Subject: lantiq: ltq-ptm: vr9: fix skb handling in ptm_hard_start_xmit() Call skb_orphan(skb) to call the owner's destructor function and make the skb unowned. This is necessary to prevent sk_wmem_alloc of a socket from overflowing, which leads to ENOBUFS errors on application level. Signed-off-by: Martin Schiller --- package/kernel/lantiq/ltq-ptm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel/lantiq/ltq-ptm/Makefile') diff --git a/package/kernel/lantiq/ltq-ptm/Makefile b/package/kernel/lantiq/ltq-ptm/Makefile index 73fd63f42b..8f4db69411 100644 --- a/package/kernel/lantiq/ltq-ptm/Makefile +++ b/package/kernel/lantiq/ltq-ptm/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=ltq-ptm -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=John Crispin PKG_LICENSE:=GPL-2.0+ -- cgit v1.2.3