diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index f2182594160e..bcf012637d10 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -3992,7 +3992,7 @@ netdev_features_t netif_skb_features(struct sk_buff *skb); | |||
3992 | 3992 | ||
3993 | static inline bool net_gso_ok(netdev_features_t features, int gso_type) | 3993 | static inline bool net_gso_ok(netdev_features_t features, int gso_type) |
3994 | { | 3994 | { |
3995 | netdev_features_t feature = gso_type << NETIF_F_GSO_SHIFT; | 3995 | netdev_features_t feature = (netdev_features_t)gso_type << NETIF_F_GSO_SHIFT; |
3996 | 3996 | ||
3997 | /* check flags correspondence */ | 3997 | /* check flags correspondence */ |
3998 | BUILD_BUG_ON(SKB_GSO_TCPV4 != (NETIF_F_TSO >> NETIF_F_GSO_SHIFT)); | 3998 | BUILD_BUG_ON(SKB_GSO_TCPV4 != (NETIF_F_TSO >> NETIF_F_GSO_SHIFT)); |