net: Use consume_skb() to free gso segmented skb
authorSridhar Samudrala <sri@us.ibm.com>
Mon, 29 Apr 2013 13:02:42 +0000 (13:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Apr 2013 04:18:13 +0000 (00:18 -0400)
commit0c772159d1ae15c664304f0830c9aec4702593da
tree964dfe8cd600f518a83325e56f1f60390df8a293
parent1ab137bc99138dd0d459655642bee16afec8b7ce
net: Use consume_skb() to free gso segmented skb

Use consume_skb() to free the original skb that is successfully transmitted
as gso segmented skbs so that it is not treated as a drop due to an error.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c