diff options
Diffstat (limited to 'net/sctp/output.c')
-rw-r--r-- | net/sctp/output.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sctp/output.c b/net/sctp/output.c index d85543def754..49b9f5f031a4 100644 --- a/net/sctp/output.c +++ b/net/sctp/output.c | |||
@@ -79,7 +79,9 @@ struct sctp_packet *sctp_packet_config(struct sctp_packet *packet, | |||
79 | packet->vtag = vtag; | 79 | packet->vtag = vtag; |
80 | packet->has_cookie_echo = 0; | 80 | packet->has_cookie_echo = 0; |
81 | packet->has_sack = 0; | 81 | packet->has_sack = 0; |
82 | packet->has_auth = 0; | ||
82 | packet->ipfragok = 0; | 83 | packet->ipfragok = 0; |
84 | packet->auth = NULL; | ||
83 | 85 | ||
84 | if (ecn_capable && sctp_packet_empty(packet)) { | 86 | if (ecn_capable && sctp_packet_empty(packet)) { |
85 | chunk = sctp_get_ecne_prepend(packet->transport->asoc); | 87 | chunk = sctp_get_ecne_prepend(packet->transport->asoc); |
@@ -121,8 +123,10 @@ struct sctp_packet *sctp_packet_init(struct sctp_packet *packet, | |||
121 | packet->vtag = 0; | 123 | packet->vtag = 0; |
122 | packet->has_cookie_echo = 0; | 124 | packet->has_cookie_echo = 0; |
123 | packet->has_sack = 0; | 125 | packet->has_sack = 0; |
126 | packet->has_auth = 0; | ||
124 | packet->ipfragok = 0; | 127 | packet->ipfragok = 0; |
125 | packet->malloced = 0; | 128 | packet->malloced = 0; |
129 | packet->auth = NULL; | ||
126 | return packet; | 130 | return packet; |
127 | } | 131 | } |
128 | 132 | ||