| Submitter | Ilpo Järvinen |
|---|---|
| Date | Dec. 13, 2008, 7:17 p.m. |
| Message ID | <12291958713600-git-send-email-ilpo.jarvinen@helsinki.fi> |
| Download | mbox | patch |
| Permalink | /patch/13835/ |
| State | Superseded |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 9eed242..3c51b2d 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c @@ -1501,8 +1501,7 @@ static int ip6mr_forward2(struct sk_buff *skb, struct mfc6_cache *c, int vifi) vif->dev->stats.tx_bytes += skb->len; vif->dev->stats.tx_packets++; ip6mr_cache_report(net, skb, vifi, MRT6MSG_WHOLEPKT); - kfree_skb(skb); - return 0; + goto out_free; } #endif
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> --- net/ipv6/ip6mr.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)