Thread (35 messages) 35 messages, 4 authors, 2024-10-06

Re: [PATCH net-next v4 03/12] net: tunnel: add skb_vlan_inet_prepare_reason() helper

From: Menglong Dong <hidden>
Date: 2024-10-06 03:51:48
Also in: lkml

On Sat, Oct 5, 2024 at 12:43 AM Jakub Kicinski [off-list ref] wrote:
On Tue,  1 Oct 2024 15:32:16 +0800 Menglong Dong wrote:
quoted
-static inline bool skb_vlan_inet_prepare(struct sk_buff *skb,
-                                      bool inner_proto_inherit)
+static inline enum skb_drop_reason
+skb_vlan_inet_prepare_reason(struct sk_buff *skb, bool inner_proto_inherit)
this only has 5 callers, please convert them to expect a drop
reason to be returned instead of adding a compatibility wrapper
Okay!
--
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help