[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
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>
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 :/
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 ;)
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!