]> git.karo-electronics.de Git - karo-tx-linux.git/commit
openvswitch: Fix helper reference leak
authorJoe Stringer <joe@ovn.org>
Wed, 9 Dec 2015 22:07:39 +0000 (14:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2015 04:31:31 +0000 (23:31 -0500)
commit2f3ab9f9fc23811188b9d07d86e4d99ffee887f4
tree57c83030fab36fecf1185fab29a9048b87178d95
parent651df2183543bc92f5dbcf99cd9e236ead0bc4c5
openvswitch: Fix helper reference leak

If the actions (re)allocation fails, or the actions list is larger than the
maximum size, and the conntrack action is the last action when these
problems are hit, then references to helper modules may be leaked. Fix
the issue.

Fixes: cae3a2627520 ("openvswitch: Allow attaching helpers to ct action")
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c