summaryrefslogtreecommitdiffstats
path: root/snull
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-05-06 05:12:18 +0200
committerJavier Martinez Canillas <javier@dowhile0.org>2012-05-06 05:12:18 +0200
commitc89bc48f1094efef2ed9dee78028fe41dba09ca2 (patch)
tree0d4778108649440590a5ebec8e90405c65623972 /snull
parent5759bf4dcc6e4155447bcd40ddebccee50cd3fa5 (diff)
downloadldd3-3.3.4.tar.gz
snull: use NETIF_F_HW_CSUM instead of NETIF_F_NO_CSUMv3.3.4
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Diffstat (limited to 'snull')
-rw-r--r--snull/snull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/snull/snull.c b/snull/snull.c
index 885a50b..b5c5ba4 100644
--- a/snull/snull.c
+++ b/snull/snull.c
@@ -664,7 +664,7 @@ void snull_init(struct net_device *dev)
dev->header_ops = &snull_header_ops;
/* keep the default flags, just add NOARP */
dev->flags |= IFF_NOARP;
- dev->features |= NETIF_F_NO_CSUM;
+ dev->features |= NETIF_F_HW_CSUM;
/*
* Then, initialize the priv field. This encloses the statistics