Fix CSUM compatibility mapping. SCTP is a layer 4 protocol.

Submitted by:	tuexen
This commit is contained in:
andre 2013-08-25 13:30:37 +00:00
parent 1f5f1f4e50
commit 057b346330

View File

@ -418,7 +418,7 @@ struct mbuf {
#define CSUM_IP_VALID CSUM_L3_VALID
#define CSUM_DATA_VALID CSUM_L4_VALID
#define CSUM_PSEUDO_HDR CSUM_L4_CALC
#define CSUM_SCTP_VALID CSUM_L3_VALID
#define CSUM_SCTP_VALID CSUM_L4_VALID
#define CSUM_DELAY_DATA (CSUM_TCP|CSUM_UDP)
#define CSUM_DELAY_IP CSUM_IP /* Only v4, no v6 IP hdr csum */
#define CSUM_DELAY_DATA_IPV6 (CSUM_TCP_IPV6|CSUM_UDP_IPV6)