net: rmnet_data: Fix incorrect flags for rmnet_data devices

Userspace applications report that SIOCETHTOOL IOCTL fails for
option ETHTOOL_STXCSUM even though rmnet_data devices with
prefix were created. This is because commit I183ba7
("net: rmnet_data: adding support to GRO") replaced the dev
features with NETIF_F_GRO only.

Fix this this by specifying the expected set of dev features.

CRs-fixed: 860895
Change-Id: Ic0935718a3a3f7bab5ea70d81c7dff99ebf0a7fc
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
This commit is contained in:
Subash Abhinov Kasiviswanathan 2015-06-24 13:50:35 -06:00 committed by Gerrit - the friendly Code Review server
parent 1eacba224f
commit 801513848a
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ int rmnet_vnd_create_dev(int id, struct net_device **new_device,
dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
NETIF_F_IPV6_UDP_CSUM;
/* Configuring GRO on rmnet_data interfaces */
dev->hw_features = NETIF_F_GRO;
dev->hw_features |= NETIF_F_GRO;
}
rc = register_netdevice(dev);