Messages in this thread | | | Date | Mon, 31 Jan 2022 10:49:03 -0700 | Subject | Re: [PATCH v3 net-next 5/7] net: ipv4: use kfree_skb_reason() in ip_protocol_deliver_rcu() | From | David Ahern <> |
| |
On 1/28/22 12:33 AM, menglong8.dong@gmail.com wrote: > From: Menglong Dong <imagedong@tencent.com> > > Replace kfree_skb() with kfree_skb_reason() in ip_protocol_deliver_rcu(). > Following new drop reasons are introduced: > > SKB_DROP_REASON_XFRM_POLICY > SKB_DROP_REASON_IP_NOPROTO > > Signed-off-by: Menglong Dong <imagedong@tencent.com> > --- > v2: > - add document for the introduced drop reasons > --- > include/linux/skbuff.h | 2 ++ > include/trace/events/skb.h | 2 ++ > net/ipv4/ip_input.c | 5 +++-- > 3 files changed, 7 insertions(+), 2 deletions(-) >
Reviewed-by: David Ahern <dsahern@kernel.org>
| |