Messages in this thread | | | Date | Fri, 8 Apr 2022 21:50:19 -0600 | Subject | Re: [PATCH RESEND net-next v5 2/4] net: skb: rename SKB_DROP_REASON_PTYPE_ABSENT | From | David Ahern <> |
| |
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>
| |