diff options
author | Sridhar Samudrala <sri@us.ibm.com> | 2005-07-18 16:44:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-18 16:44:10 -0400 |
commit | d1ad1ff299dd908d07c5e5f27f88bbdb235eb7a5 (patch) | |
tree | 03f66679f4a153ec06fde913907f392503f4b5e5 /include/net/sctp | |
parent | ee71a29eb5e341fe977c5ad7a43782c29bd9cb9e (diff) |
[SCTP]: Fix potential null pointer dereference while handling an icmp error
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
-rw-r--r-- | include/net/sctp/sctp.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index 4a26adfaed71..e1d5ec1c23c0 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h | |||
@@ -167,15 +167,12 @@ void sctp_unhash_established(struct sctp_association *); | |||
167 | void sctp_hash_endpoint(struct sctp_endpoint *); | 167 | void sctp_hash_endpoint(struct sctp_endpoint *); |
168 | void sctp_unhash_endpoint(struct sctp_endpoint *); | 168 | void sctp_unhash_endpoint(struct sctp_endpoint *); |
169 | struct sock *sctp_err_lookup(int family, struct sk_buff *, | 169 | struct sock *sctp_err_lookup(int family, struct sk_buff *, |
170 | struct sctphdr *, struct sctp_endpoint **, | 170 | struct sctphdr *, struct sctp_association **, |
171 | struct sctp_association **, | ||
172 | struct sctp_transport **); | 171 | struct sctp_transport **); |
173 | void sctp_err_finish(struct sock *, struct sctp_endpoint *, | 172 | void sctp_err_finish(struct sock *, struct sctp_association *); |
174 | struct sctp_association *); | ||
175 | void sctp_icmp_frag_needed(struct sock *, struct sctp_association *, | 173 | void sctp_icmp_frag_needed(struct sock *, struct sctp_association *, |
176 | struct sctp_transport *t, __u32 pmtu); | 174 | struct sctp_transport *t, __u32 pmtu); |
177 | void sctp_icmp_proto_unreachable(struct sock *sk, | 175 | void sctp_icmp_proto_unreachable(struct sock *sk, |
178 | struct sctp_endpoint *ep, | ||
179 | struct sctp_association *asoc, | 176 | struct sctp_association *asoc, |
180 | struct sctp_transport *t); | 177 | struct sctp_transport *t); |
181 | 178 | ||