[SCTP]: Implete SCTP-AUTH parameter processing
[deliverable/linux.git] / net / sctp / output.c
index f875fc3ced5498f012996eaf7d39d4039c149642..49b9f5f031a43199a68a462f2db7bff3c008ce15 100644 (file)
@@ -79,7 +79,9 @@ struct sctp_packet *sctp_packet_config(struct sctp_packet *packet,
        packet->vtag = vtag;
        packet->has_cookie_echo = 0;
        packet->has_sack = 0;
+       packet->has_auth = 0;
        packet->ipfragok = 0;
+       packet->auth = NULL;
 
        if (ecn_capable && sctp_packet_empty(packet)) {
                chunk = sctp_get_ecne_prepend(packet->transport->asoc);
@@ -121,8 +123,10 @@ struct sctp_packet *sctp_packet_init(struct sctp_packet *packet,
        packet->vtag = 0;
        packet->has_cookie_echo = 0;
        packet->has_sack = 0;
+       packet->has_auth = 0;
        packet->ipfragok = 0;
        packet->malloced = 0;
+       packet->auth = NULL;
        return packet;
 }
 
@@ -176,7 +180,7 @@ sctp_xmit_t sctp_packet_transmit_chunk(struct sctp_packet *packet,
        case SCTP_XMIT_OK:
        case SCTP_XMIT_NAGLE_DELAY:
                break;
-       };
+       }
 
        return retval;
 }
This page took 0.032346 seconds and 5 git commands to generate.