projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12207e4
)
ipmr: use goto to common label instead of opencoding
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Sat, 7 Feb 2009 07:46:51 +0000
(23:46 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sat, 7 Feb 2009 07:46:51 +0000
(23:46 -0800)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ipmr.c
b/net/ipv4/ipmr.c
index 21a6dc710f20a5d08866f30ecb8e1f0298c204b3..13e9dd3012b3a0173f0528fa591cd3eb798e02fd 100644
(file)
--- a/
net/ipv4/ipmr.c
+++ b/
net/ipv4/ipmr.c
@@
-1243,8
+1243,7
@@
static void ipmr_queue_xmit(struct sk_buff *skb, struct mfc_cache *c, int vifi)
vif->dev->stats.tx_bytes += skb->len;
vif->dev->stats.tx_packets++;
ipmr_cache_report(net, skb, vifi, IGMPMSG_WHOLEPKT);
- kfree_skb(skb);
- return;
+ goto out_free;
}
#endif