]>
Commit | Line | Data |
---|---|---|
3d8de842 FG |
1 | diff --git a/src/kcompat.h.orig b/src/kcompat.h |
2 | index ceabd81..e1fa5ac 100644 | |
3 | --- a/src/kcompat.h.orig | |
4 | +++ b/src/kcompat.h | |
5 | @@ -4809,14 +4809,6 @@ static inline bool page_is_pfmemalloc(struct page __maybe_unused *page) | |
6 | #endif /* 4.5.0 */ | |
7 | ||
8 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(4,6,0)) | |
9 | -#if !(UBUNTU_VERSION_CODE && UBUNTU_VERSION_CODE >= UBUNTU_VERSION(4,4,0,21)) | |
10 | -static inline void napi_consume_skb(struct sk_buff *skb, | |
11 | - int __always_unused budget) | |
12 | -{ | |
13 | - dev_consume_skb_any(skb); | |
14 | -} | |
15 | - | |
16 | -#endif /* UBUNTU_VERSION(4,4,0,21) */ | |
17 | static inline void csum_replace_by_diff(__sum16 *sum, __wsum diff) | |
18 | { | |
19 | * sum = csum_fold(csum_add(diff, ~csum_unfold(*sum))); |