diff options
| author | Michał Mirosław <[email protected]> | 2011-11-15 15:29:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-11-16 22:43:12 +0000 |
| commit | 34324dc2bf27c1773045fea63cb11f7e2a6ad2b9 (patch) | |
| tree | 47cd1f4ea5590c405dc60aee70b49fb14f56859b /drivers/net/loopback.c | |
| parent | net: extend netdev_features_t to 64 bits (diff) | |
| download | kernel-34324dc2bf27c1773045fea63cb11f7e2a6ad2b9.tar.gz kernel-34324dc2bf27c1773045fea63cb11f7e2a6ad2b9.zip | |
net: remove NETIF_F_NO_CSUM feature bit
Only distinct use is checking if NETIF_F_NOCACHE_COPY should be
enabled by default. The check heuristics is altered a bit here,
so it hits other people than before. The default shouldn't be
trusted for performance-critical cases anyway.
For all other uses NETIF_F_NO_CSUM is equivalent to NETIF_F_HW_CSUM.
Signed-off-by: Michał Mirosław <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/loopback.c')
| -rw-r--r-- | drivers/net/loopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 4ce9e5f2c069..b71998d0b5b4 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c @@ -169,7 +169,7 @@ static void loopback_setup(struct net_device *dev) dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | NETIF_F_UFO - | NETIF_F_NO_CSUM + | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | NETIF_F_HIGHDMA | NETIF_F_LLTX |
