CSUM flags need to be OS version sensitive in ixv code

MFC in 3 days
This commit is contained in:
Jack F Vogel 2011-01-07 23:39:41 +00:00
parent 66863764b8
commit 462e3e88b3

View File

@ -175,7 +175,11 @@
#define VFTA_SIZE 128
/* Offload bits in mbuf flag */
#if __FreeBSD_version >= 800000
#define CSUM_OFFLOAD (CSUM_IP|CSUM_TCP|CSUM_UDP|CSUM_SCTP)
#else
#define CSUM_OFFLOAD (CSUM_IP|CSUM_TCP|CSUM_UDP)
#endif
/*
*****************************************************************************