[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1484753523-26230-1-git-send-email-rshearma@brocade.com>
Date: Wed, 18 Jan 2017 15:32:01 +0000
From: Robert Shearman <rshearma@...cade.com>
To: <davem@...emloft.net>
CC: <netdev@...r.kernel.org>, Tom Herbert <tom@...bertland.com>,
Roopa Prabhu <roopa@...ulusnetworks.com>,
Robert Shearman <rshearma@...cade.com>
Subject: [PATCH net 0/2] net: Fix oops on state free after lwt module unload
This patchset fixes an oops in lwtstate_free and a memory leak that
would otherwise be exposed by ensuring that references are taken on
modules that need to stay around to clean up lwt state. To faciliate
this all ops that implement destroy_state and that can be configured
to build as a module are changed specify the owner module in the
ops. The intersection of those two sets is just ila at the moment.
Robert Shearman (2):
lwtunnel: Fix oops on state free after encap module unload
ila: Fix memory leak of lwt dst cache on module unload
include/net/lwtunnel.h | 2 ++
net/core/lwtunnel.c | 11 +++++++++--
net/ipv6/ila/ila_lwt.c | 1 +
3 files changed, 12 insertions(+), 2 deletions(-)
--
2.1.4
Powered by blists - more mailing lists