netmap: don't check for offloading twice

pull/2137/head
Victor Julien 10 years ago
parent 2beb39469b
commit 4c663bb143

@ -753,11 +753,6 @@ static TmEcode ReceiveNetmapThreadInit(ThreadVars *tv, void *initdata, void **da
}
}
if (GetIfaceOffloading(aconf->iface) == 1) {
SCLogWarning(SC_ERR_NETMAP_CREATE,
"Using netmap mode with GRO or LRO activated can lead to capture problems");
}
*data = (void *)ntv;
aconf->DerefFunc(aconf);
SCReturnInt(TM_ECODE_OK);

Loading…
Cancel
Save