diff options
| author | David S. Miller <davem@davemloft.net> | 2016-07-23 19:31:37 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-07-24 00:53:32 -0400 |
| commit | de0ba9a0d8909996f9e293d311c2cc459fa77d67 (patch) | |
| tree | 199214afc477824bf431d11d08834ff7555c994b /include/linux/netdevice.h | |
| parent | d95a93a9b71677a43f967a1b7986decab84b7765 (diff) | |
| parent | 107df03203bb66de56e2caec3bde6d22b55480c5 (diff) | |
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>
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index fab9a1c2a2ac..43c749b1b619 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -4209,6 +4209,13 @@ static inline void netif_keep_dst(struct net_device *dev) | |||
| 4209 | dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_XMIT_DST_RELEASE_PERM); | 4209 | dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_XMIT_DST_RELEASE_PERM); |
| 4210 | } | 4210 | } |
| 4211 | 4211 | ||
| 4212 | /* return true if dev can't cope with mtu frames that need vlan tag insertion */ | ||
| 4213 | static inline bool netif_reduces_vlan_mtu(struct net_device *dev) | ||
| 4214 | { | ||
| 4215 | /* TODO: reserve and use an additional IFF bit, if we get more users */ | ||
| 4216 | return dev->priv_flags & IFF_MACSEC; | ||
| 4217 | } | ||
| 4218 | |||
| 4212 | extern struct pernet_operations __net_initdata loopback_net_ops; | 4219 | extern struct pernet_operations __net_initdata loopback_net_ops; |
| 4213 | 4220 | ||
| 4214 | /* Logging, debugging and troubleshooting/diagnostic helpers. */ | 4221 | /* Logging, debugging and troubleshooting/diagnostic helpers. */ |
