]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Fix skb leak in ovs_fragment()
authorJoe Stringer <joestringer@nicira.com>
Tue, 6 Oct 2015 17:59:57 +0000 (10:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 12:03:03 +0000 (05:03 -0700)
commit1a261116091ffaf04361468ae760111b8e54f2dc
tree123345db5a1b910ab007d7fcbd2d2bc0489e4203
parentc0eb9a324c37fefb2068b4b7aae915d398330aa7
openvswitch: Fix skb leak in ovs_fragment()

If ovs_fragment() was unable to fragment the skb due to an L2 header
that exceeds the supported length, skbs would be leaked. Fix the bug.

Fixes: 7ea99650bc97 "openvswitch: Add conntrack action"
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/actions.c