netdev: convert pseudo-devices to netdev_tx_t
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
dc1f8bf68b
commit
6fef4c0c8e
@@ -1036,7 +1036,7 @@ ip6ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
static netdev_tx_t
|
||||
ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
{
|
||||
struct ip6_tnl *t = netdev_priv(dev);
|
||||
|
@@ -416,7 +416,8 @@ static struct inet6_protocol pim6_protocol = {
|
||||
|
||||
/* Service routines creating virtual interfaces: PIMREG */
|
||||
|
||||
static int reg_vif_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
static netdev_tx_t reg_vif_xmit(struct sk_buff *skb,
|
||||
struct net_device *dev)
|
||||
{
|
||||
struct net *net = dev_net(dev);
|
||||
|
||||
|
@@ -609,7 +609,8 @@ static inline __be32 try_6to4(struct in6_addr *v6dst)
|
||||
* and that skb is filled properly by that function.
|
||||
*/
|
||||
|
||||
static int ipip6_tunnel_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
static netdev_tx_t ipip6_tunnel_xmit(struct sk_buff *skb,
|
||||
struct net_device *dev)
|
||||
{
|
||||
struct ip_tunnel *tunnel = netdev_priv(dev);
|
||||
struct net_device_stats *stats = &tunnel->dev->stats;
|
||||
|
Reference in New Issue
Block a user