mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
netdev: convert pseudo-devices to netdev_tx_t
Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
dc1f8bf68b
commit
6fef4c0c8e
17 changed files with 30 additions and 31 deletions
|
|
@ -662,7 +662,7 @@ drop_nolock:
|
|||
return(0);
|
||||
}
|
||||
|
||||
static int ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
static netdev_tx_t ipgre_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;
|
||||
|
|
|
|||
|
|
@ -387,7 +387,7 @@ static int ipip_rcv(struct sk_buff *skb)
|
|||
* and that skb is filled properly by that function.
|
||||
*/
|
||||
|
||||
static int ipip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
static netdev_tx_t ipip_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;
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ failure:
|
|||
|
||||
#ifdef CONFIG_IP_PIMSM
|
||||
|
||||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue