[PATCH dovetail] net: skbuff: add missing OOB stubs for !CONFIG_NET_OOB
Tobias Schaffner <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <[email protected]> |
skbuff.c calls skb_mark_oob() and variants behind runtime running_oob() checks but these are only implemented in the CONFIG_NET_OOB section. Add the missing stubs to the !CONFIG_NET_OOB section. Signed-off-by: Tobias Schaffner <[email protected]> --- include/linux/skbuff.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 73dd4a58d181..1278d0a58677 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -5630,6 +5630,22 @@ static inline struct sk_buff *get_oob_skb(void) return __get_oob_skb(); } +static inline void skb_mark_oob(struct sk_buff *skb) +{ +} + +static inline void skb_mark_oob_released(struct sk_buff *skb) +{ +} + +static inline void skb_mark_oob_timestamped(struct sk_buff *skb) +{ +} + +static inline void skb_mark_oob_managed(struct sk_buff *skb) +{ +} + #endif /* !CONFIG_NET_OOB */ #endif /* __KERNEL__ */ -- 2.43.0