mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -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
|
|
@ -20,7 +20,7 @@
|
|||
#include "br_private.h"
|
||||
|
||||
/* net device transmit always called with no BH (preempt_disabled) */
|
||||
int br_dev_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
{
|
||||
struct net_bridge *br = netdev_priv(dev);
|
||||
const unsigned char *dest = skb->data;
|
||||
|
|
|
|||
|
|
@ -143,7 +143,8 @@ static inline int br_is_root_bridge(const struct net_bridge *br)
|
|||
|
||||
/* br_device.c */
|
||||
extern void br_dev_setup(struct net_device *dev);
|
||||
extern int br_dev_xmit(struct sk_buff *skb, struct net_device *dev);
|
||||
extern netdev_tx_t br_dev_xmit(struct sk_buff *skb,
|
||||
struct net_device *dev);
|
||||
|
||||
/* br_fdb.c */
|
||||
extern int br_fdb_init(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue