projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions
[linux-block.git]
/
net
/
ipv4
/
ipmr.c
diff --git
a/net/ipv4/ipmr.c
b/net/ipv4/ipmr.c
index 9a8da5ed92b7cab3c4883b5866c3a69e655a7278..06c33fb6b32180163b009aee3b91f86ff78ad32a 100644
(file)
--- a/
net/ipv4/ipmr.c
+++ b/
net/ipv4/ipmr.c
@@
-212,7
+212,7
@@
static int reg_vif_xmit(struct sk_buff *skb, struct net_device *dev)
IGMPMSG_WHOLEPKT);
read_unlock(&mrt_lock);
kfree_skb(skb);
- return
0
;
+ return
NETDEV_TX_OK
;
}
static const struct net_device_ops reg_vif_netdev_ops = {