[PATCH] net: Provide lwtstate_free for non-lwt config

Subsystems: networking [general], networking [ipv4/ipv6], the rest

STALE4011d

4 messages, 3 authors, 2015-08-20 · open the first message on its own page

[PATCH] net: Provide lwtstate_free for non-lwt config

From: Alex Gartrell <hidden>
Date: 2015-08-19 22:16:10

Fixes: df383e624 ("lwtunnel: fix memory leak")

Signed-off-by: Alex Gartrell <redacted>
---
 include/net/lwtunnel.h | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/include/net/lwtunnel.h b/include/net/lwtunnel.h
index 34fd8f7..cfee539 100644
--- a/include/net/lwtunnel.h
+++ b/include/net/lwtunnel.h
@@ -93,6 +93,10 @@ int lwtunnel_input6(struct sk_buff *skb);
 
 #else
 
+static inline void lwtstate_free(struct lwtunnel_state *lws)
+{
+}
+
 static inline struct lwtunnel_state *
 lwtstate_get(struct lwtunnel_state *lws)
 {
-- 
Alex Gartrell <agartrell@fb.com>

Re: [PATCH] net: Provide lwtstate_free for non-lwt config

From: Alex Gartrell <hidden>
Date: 2015-08-19 22:42:07

On Wed, Aug 19, 2015 at 3:16 PM, Alex Gartrell [off-list ref] wrote:
Fixes: df383e624 ("lwtunnel: fix memory leak")
Ah sorry, this is PATCH net-next, obviously :/

Re: [PATCH] net: Provide lwtstate_free for non-lwt config

From: Eric Dumazet <hidden>
Date: 2015-08-19 23:28:26

On Wed, 2015-08-19 at 15:41 -0700, Alex Gartrell wrote:
On Wed, Aug 19, 2015 at 3:16 PM, Alex Gartrell [off-list ref] wrote:
quoted
Fixes: df383e624 ("lwtunnel: fix memory leak")
Ah sorry, this is PATCH net-next, obviously :/

We've seen similar patches earlier today on netdev ;)

Re: [PATCH] net: Provide lwtstate_free for non-lwt config

From: Alex Gartrell <hidden>
Date: 2015-08-20 00:06:56

On Wed, Aug 19, 2015 at 4:28 PM, Eric Dumazet [off-list ref] wrote:
We've seen similar patches earlier today on netdev ;)
Ah, the mailing list equivalent of someone letting you know that you
left your fly down :)

Sorry for the noise!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help