Ensure variables are initialized before used.
MFC after: 3 days
This commit is contained in:
parent
6176f9d6df
commit
b954d81662
@ -5553,7 +5553,9 @@ sctp_common_input_processing(struct mbuf **mm, int iphlen, int offset, int lengt
|
||||
stcb = NULL;
|
||||
goto out;
|
||||
}
|
||||
data_processed = 1;
|
||||
if (retval == 0) {
|
||||
data_processed = 1;
|
||||
}
|
||||
/*
|
||||
* Anything important needs to have been m_copy'ed in
|
||||
* process_data
|
||||
|
@ -6047,6 +6047,7 @@ sctp_load_addresses_from_init(struct sctp_tcb *stcb, struct mbuf *m,
|
||||
peer_supports_prsctp = 0;
|
||||
peer_supports_auth = 0;
|
||||
peer_supports_asconf = 0;
|
||||
peer_supports_asconf_ack = 0;
|
||||
peer_supports_reconfig = 0;
|
||||
peer_supports_nrsack = 0;
|
||||
peer_supports_pktdrop = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user