Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Just several instances of overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -4209,6 +4209,13 @@ static inline void netif_keep_dst(struct net_device *dev)
|
||||
dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_XMIT_DST_RELEASE_PERM);
|
||||
}
|
||||
|
||||
/* return true if dev can't cope with mtu frames that need vlan tag insertion */
|
||||
static inline bool netif_reduces_vlan_mtu(struct net_device *dev)
|
||||
{
|
||||
/* TODO: reserve and use an additional IFF bit, if we get more users */
|
||||
return dev->priv_flags & IFF_MACSEC;
|
||||
}
|
||||
|
||||
extern struct pernet_operations __net_initdata loopback_net_ops;
|
||||
|
||||
/* Logging, debugging and troubleshooting/diagnostic helpers. */
|
||||
|
Reference in New Issue
Block a user