[NET_SCHED]: act_api: fix skb leak in error path
authorPatrick McHardy <kaber@trash.net>
Mon, 13 Mar 2006 04:33:22 +0000 (20:33 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 13 Mar 2006 04:39:36 +0000 (20:39 -0800)
The skb is allocated by the function, so it needs to be freed instead
of trimmed on overrun.

Coverity #614

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found