]> Pileus Git - ~andy/linux/blobdiff - net/core/dev.c
Merge branch 'master' into for-next
[~andy/linux] / net / core / dev.c
index 7e00a7342ee6aa4e9d7ab408423694fecb2966db..d2b87dbbbb1a763980e571f4eac300a9742e1e4c 100644 (file)
@@ -4996,7 +4996,7 @@ static void dev_change_rx_flags(struct net_device *dev, int flags)
 {
        const struct net_device_ops *ops = dev->netdev_ops;
 
-       if ((dev->flags & IFF_UP) && ops->ndo_change_rx_flags)
+       if (ops->ndo_change_rx_flags)
                ops->ndo_change_rx_flags(dev, flags);
 }
 
@@ -6224,7 +6224,7 @@ void netdev_freemem(struct net_device *dev)
  *     @rxqs:          the number of RX subqueues to allocate
  *
  *     Allocates a struct net_device with private data area for driver use
- *     and performs basic initialization.  Also allocates subquue structs
+ *     and performs basic initialization.  Also allocates subqueue structs
  *     for each queue on the device.
  */
 struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name,