lkml.org 
[lkml]   [2022]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH RESEND net-next v5 2/4] net: skb: rename SKB_DROP_REASON_PTYPE_ABSENT
From
On 4/7/22 12:20 AM, menglong8.dong@gmail.com wrote:
> From: Menglong Dong <imagedong@tencent.com>
>
> As David Ahern suggested, the reasons for skb drops should be more
> general and not be code based.
>
> Therefore, rename SKB_DROP_REASON_PTYPE_ABSENT to
> SKB_DROP_REASON_UNHANDLED_PROTO, which is used for the cases of no
> L3 protocol handler, no L4 protocol handler, version extensions, etc.
>
> From previous discussion, now we have the aim to make these reasons
> more abstract and users based, avoiding code based.
>
> Signed-off-by: Menglong Dong <imagedong@tencent.com>
> ---
> include/linux/skbuff.h | 8 +++-----
> include/trace/events/skb.h | 2 +-
> net/core/dev.c | 8 +++-----
> 3 files changed, 7 insertions(+), 11 deletions(-)
>


Reviewed-by: David Ahern <dsahern@kernel.org>

\
 
 \ /
  Last update: 2022-04-09 05:50    [W:0.067 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site