From c89bc48f1094efef2ed9dee78028fe41dba09ca2 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Sun, 6 May 2012 05:12:18 +0200 Subject: snull: use NETIF_F_HW_CSUM instead of NETIF_F_NO_CSUM Signed-off-by: Javier Martinez Canillas --- snull/snull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1-18-gbd029