diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netdevice.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 440a02ee6f92..21d4e6be8949 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -3068,7 +3068,12 @@ void netdev_change_features(struct net_device *dev); | |||
| 3068 | void netif_stacked_transfer_operstate(const struct net_device *rootdev, | 3068 | void netif_stacked_transfer_operstate(const struct net_device *rootdev, |
| 3069 | struct net_device *dev); | 3069 | struct net_device *dev); |
| 3070 | 3070 | ||
| 3071 | netdev_features_t netif_skb_features(struct sk_buff *skb); | 3071 | netdev_features_t netif_skb_dev_features(struct sk_buff *skb, |
| 3072 | const struct net_device *dev); | ||
| 3073 | static inline netdev_features_t netif_skb_features(struct sk_buff *skb) | ||
| 3074 | { | ||
| 3075 | return netif_skb_dev_features(skb, skb->dev); | ||
| 3076 | } | ||
| 3072 | 3077 | ||
| 3073 | static inline bool net_gso_ok(netdev_features_t features, int gso_type) | 3078 | static inline bool net_gso_ok(netdev_features_t features, int gso_type) |
| 3074 | { | 3079 | { |
