]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/tun.c
net: change netdev->features to u32
[karo-tx-linux.git] / drivers / net / tun.c
index b100bd50a0d7f27e0bda4144ffb3288a5bfc4d40..55786a0efc414ae0007e97ae2ccebb8b53c9ab9b 100644 (file)
@@ -1142,7 +1142,7 @@ static int tun_get_iff(struct net *net, struct tun_struct *tun,
  * privs required. */
 static int set_offload(struct net_device *dev, unsigned long arg)
 {
-       unsigned int old_features, features;
+       u32 old_features, features;
 
        old_features = dev->features;
        /* Unset features, set them as we chew on the arg. */