]> git.baikalelectronics.ru Git - kernel.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)
commit54f91a2213787e3f1e03ecc40be2a002d2909794
tree57c83030fab36fecf1185fab29a9048b87178d95
parent345704e344f76c971091be0e53249479b624f9a0
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: 33f290f71311 ("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