projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
448eb71
)
ip6mr: use goto to common label instead of opencoding
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Mon, 15 Dec 2008 07:15:49 +0000
(23:15 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 15 Dec 2008 07:15:49 +0000
(23:15 -0800)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ip6mr.c
b/net/ipv6/ip6mr.c
index 9eed2422b3e3f76ffc6fcb17e322fb2e4c45c372..3c51b2d827f4b82966502e7a210c028260f52419 100644
(file)
--- 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