]> err.no Git - linux-2.6/blobdiff - net/sctp/ulpevent.c
the scheduled ieee80211 softmac removal
[linux-2.6] / net / sctp / ulpevent.c
index e27b11f18b7f2a32935e9de3a24dd8a4030e7b91..b43f1f110f8738069c59f425bd9e40a8e81ecbee 100644 (file)
@@ -206,7 +206,7 @@ struct sctp_ulpevent  *sctp_ulpevent_make_assoc_change(
         * This field is the total length of the notification data, including
         * the notification header.
         */
-       sac->sac_length = sizeof(struct sctp_assoc_change);
+       sac->sac_length = skb->len;
 
        /* Socket Extensions for SCTP
         * 5.3.1.1 SCTP_ASSOC_CHANGE