[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4fa7b7bc-6d86-1ed5-8f9b-04cfef5f13ee@gmail.com>
Date: Mon, 31 Jan 2022 10:53:40 -0700
From: David Ahern <dsahern@...il.com>
To: menglong8.dong@...il.com, dsahern@...nel.org, kuba@...nel.org
Cc: rostedt@...dmis.org, mingo@...hat.com, davem@...emloft.net,
yoshfuji@...ux-ipv6.org, pablo@...filter.org, kadlec@...filter.org,
fw@...len.de, imagedong@...cent.com, edumazet@...gle.com,
alobakin@...me, paulb@...dia.com, keescook@...omium.org,
talalahmad@...gle.com, haokexin@...il.com, memxor@...il.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
cong.wang@...edance.com, mengensun@...cent.com
Subject: Re: [PATCH v3 net-next 7/7] net: udp: use kfree_skb_reason() in
__udp_queue_rcv_skb()
On 1/28/22 12:33 AM, menglong8.dong@...il.com wrote:
> From: Menglong Dong <imagedong@...cent.com>
>
> Replace kfree_skb() with kfree_skb_reason() in __udp_queue_rcv_skb().
> Following new drop reasons are introduced:
>
> SKB_DROP_REASON_SOCKET_RCVBUFF
> SKB_DROP_REASON_PROTO_MEM
>
> Signed-off-by: Menglong Dong <imagedong@...cent.com>
> ---
> include/linux/skbuff.h | 5 +++++
> include/trace/events/skb.h | 2 ++
> net/ipv4/udp.c | 10 +++++++---
> 3 files changed, 14 insertions(+), 3 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists