aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sctp/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/output.c b/net/sctp/output.c
index 1f9336177ee2..e47398c07185 100644
--- a/net/sctp/output.c
+++ b/net/sctp/output.c
@@ -220,7 +220,7 @@ static sctp_xmit_t sctp_packet_bundle_auth(struct sctp_packet *pkt,
220 /* See if this is an auth chunk we are bundling or if 220 /* See if this is an auth chunk we are bundling or if
221 * auth is already bundled. 221 * auth is already bundled.
222 */ 222 */
223 if (chunk->chunk_hdr->type == SCTP_CID_AUTH || pkt->auth) 223 if (chunk->chunk_hdr->type == SCTP_CID_AUTH || pkt->has_auth)
224 return retval; 224 return retval;
225 225
226 /* if the peer did not request this chunk to be authenticated, 226 /* if the peer did not request this chunk to be authenticated,