Skip to content

Commit 7cb4c9e

Browse files
committed
deepin: net: Fix kabi breakage for skbuff by exclude header
deepin inclusion category: kabi No functioncal change. Log: fix kabi white list symbol in skbuff.c: slab_build_skb build_skb __alloc_skb __netdev_alloc_skb __napi_alloc_skb ... Fixes: dae142e ("net: allow small head cache usage with large MAX_SKB_FRAGS values") Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent 93cecaf commit 7cb4c9e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

net/core/skbuff.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,12 @@
6767
#include <net/dst.h>
6868
#include <net/sock.h>
6969
#include <net/checksum.h>
70+
#ifndef CONFIG_DEEPIN_KABI_RESERVE
7071
#include <net/gro.h>
72+
#elif /* !CONFIG_DEEPIN_KABI_RESERVE */
73+
/* This should be increased if a protocol with a bigger head is added. */
74+
#define GRO_MAX_HEAD (MAX_HEADER + 128)
75+
#endif /* CONFIG_DEEPIN_KABI_RESERVE */
7176
#include <net/gso.h>
7277
#include <net/ip6_checksum.h>
7378
#include <net/xfrm.h>

0 commit comments

Comments
 (0)