|
@@ -5205,6 +5205,10 @@ int register_netdevice(struct net_device *dev)
|
|
|
*/
|
|
*/
|
|
|
dev->vlan_features |= NETIF_F_HIGHDMA;
|
|
dev->vlan_features |= NETIF_F_HIGHDMA;
|
|
|
|
|
|
|
|
|
|
+ /* Make NETIF_F_SG inheritable to tunnel devices.
|
|
|
|
|
+ */
|
|
|
|
|
+ dev->hw_enc_features |= NETIF_F_SG;
|
|
|
|
|
+
|
|
|
ret = call_netdevice_notifiers(NETDEV_POST_INIT, dev);
|
|
ret = call_netdevice_notifiers(NETDEV_POST_INIT, dev);
|
|
|
ret = notifier_to_errno(ret);
|
|
ret = notifier_to_errno(ret);
|
|
|
if (ret)
|
|
if (ret)
|