Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions net/core/skbuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@
#include <net/dst.h>
#include <net/sock.h>
#include <net/checksum.h>
#ifndef CONFIG_DEEPIN_KABI_RESERVE
#include <net/gro.h>
#else /* !CONFIG_DEEPIN_KABI_RESERVE */
Copy link

Copilot AI Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment on this line is incorrect. It says "!CONFIG_DEEPIN_KABI_RESERVE" but should say "CONFIG_DEEPIN_KABI_RESERVE" since this is the else branch that executes when CONFIG_DEEPIN_KABI_RESERVE is defined. The exclamation mark should be removed.

Suggested change
#else /* !CONFIG_DEEPIN_KABI_RESERVE */
#else /* CONFIG_DEEPIN_KABI_RESERVE */

Copilot uses AI. Check for mistakes.
/* This should be increased if a protocol with a bigger head is added. */
#define GRO_MAX_HEAD (MAX_HEADER + 128)
#endif /* CONFIG_DEEPIN_KABI_RESERVE */
#include <net/gso.h>
#include <net/ip6_checksum.h>
#include <net/xfrm.h>
Expand Down
Loading