From 34ff9f87d15b443d5a29b38ae49aa78d8f715cb7 Mon Sep 17 00:00:00 2001 From: Vlad Yasevich Date: Thu, 18 Sep 2008 02:48:25 -0700 Subject: [PATCH] --- yaml --- r: 109850 b: refs/heads/master c: a3028b8ed1e1e9930bfa70ce4555fb7f9fad3dcc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/sctp/output.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6a9d2c07c9f8..ce40854eb4c5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 93821778def10ec1e69aa3ac10adee975dad4ff3 +refs/heads/master: a3028b8ed1e1e9930bfa70ce4555fb7f9fad3dcc diff --git a/trunk/net/sctp/output.c b/trunk/net/sctp/output.c index 0dc4a7dfb234..225c7123c41f 100644 --- a/trunk/net/sctp/output.c +++ b/trunk/net/sctp/output.c @@ -533,7 +533,8 @@ int sctp_packet_transmit(struct sctp_packet *packet) if (!(dst->dev->features & NETIF_F_NO_CSUM)) { crc32 = sctp_start_cksum((__u8 *)sh, cksum_buf_len); crc32 = sctp_end_cksum(crc32); - } + } else + nskb->ip_summed = CHECKSUM_UNNECESSARY; /* 3) Put the resultant value into the checksum field in the * common header, and leave the rest of the bits unchanged.