|
@@ -533,7 +533,8 @@ int sctp_packet_transmit(struct sctp_packet *packet)
|
|
if (!(dst->dev->features & NETIF_F_NO_CSUM)) {
|
|
if (!(dst->dev->features & NETIF_F_NO_CSUM)) {
|
|
crc32 = sctp_start_cksum((__u8 *)sh, cksum_buf_len);
|
|
crc32 = sctp_start_cksum((__u8 *)sh, cksum_buf_len);
|
|
crc32 = sctp_end_cksum(crc32);
|
|
crc32 = sctp_end_cksum(crc32);
|
|
- }
|
|
|
|
|
|
+ } else
|
|
|
|
+ nskb->ip_summed = CHECKSUM_UNNECESSARY;
|
|
|
|
|
|
/* 3) Put the resultant value into the checksum field in the
|
|
/* 3) Put the resultant value into the checksum field in the
|
|
* common header, and leave the rest of the bits unchanged.
|
|
* common header, and leave the rest of the bits unchanged.
|