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)
commitb8f2257069f179c7bdedc9501c1623070c4c37bb
tree123345db5a1b910ab007d7fcbd2d2bc0489e4203
parent0a7cc172a01e4a203667fb601cd80131db8d0c9a
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: 7f8a436eaa2c "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