diff options
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r-- | net/sctp/input.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index 33111873a488..71db66873695 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c | |||
@@ -226,7 +226,7 @@ int sctp_rcv(struct sk_buff *skb) | |||
226 | nf_reset(skb); | 226 | nf_reset(skb); |
227 | 227 | ||
228 | if (sk_filter(sk, skb)) | 228 | if (sk_filter(sk, skb)) |
229 | goto discard_release; | 229 | goto discard_release; |
230 | 230 | ||
231 | /* Create an SCTP packet structure. */ | 231 | /* Create an SCTP packet structure. */ |
232 | chunk = sctp_chunkify(skb, asoc, sk); | 232 | chunk = sctp_chunkify(skb, asoc, sk); |
@@ -293,11 +293,11 @@ discard_release: | |||
293 | int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb) | 293 | int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb) |
294 | { | 294 | { |
295 | struct sctp_chunk *chunk = SCTP_INPUT_CB(skb)->chunk; | 295 | struct sctp_chunk *chunk = SCTP_INPUT_CB(skb)->chunk; |
296 | struct sctp_inq *inqueue = &chunk->rcvr->inqueue; | 296 | struct sctp_inq *inqueue = &chunk->rcvr->inqueue; |
297 | struct sctp_ep_common *rcvr = NULL; | 297 | struct sctp_ep_common *rcvr = NULL; |
298 | int backloged = 0; | 298 | int backloged = 0; |
299 | 299 | ||
300 | rcvr = chunk->rcvr; | 300 | rcvr = chunk->rcvr; |
301 | 301 | ||
302 | /* If the rcvr is dead then the association or endpoint | 302 | /* If the rcvr is dead then the association or endpoint |
303 | * has been deleted and we can safely drop the chunk | 303 | * has been deleted and we can safely drop the chunk |
@@ -347,7 +347,7 @@ done: | |||
347 | else | 347 | else |
348 | BUG(); | 348 | BUG(); |
349 | 349 | ||
350 | return 0; | 350 | return 0; |
351 | } | 351 | } |
352 | 352 | ||
353 | static void sctp_add_backlog(struct sock *sk, struct sk_buff *skb) | 353 | static void sctp_add_backlog(struct sock *sk, struct sk_buff *skb) |
@@ -399,7 +399,7 @@ void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, | |||
399 | * Normally, if PMTU discovery is disabled, an ICMP Fragmentation | 399 | * Normally, if PMTU discovery is disabled, an ICMP Fragmentation |
400 | * Needed will never be sent, but if a message was sent before | 400 | * Needed will never be sent, but if a message was sent before |
401 | * PMTU discovery was disabled that was larger than the PMTU, it | 401 | * PMTU discovery was disabled that was larger than the PMTU, it |
402 | * would not be fragmented, so it must be re-transmitted fragmented. | 402 | * would not be fragmented, so it must be re-transmitted fragmented. |
403 | */ | 403 | */ |
404 | sctp_retransmit(&asoc->outqueue, t, SCTP_RTXR_PMTUD); | 404 | sctp_retransmit(&asoc->outqueue, t, SCTP_RTXR_PMTUD); |
405 | } | 405 | } |
@@ -416,8 +416,8 @@ void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, | |||
416 | * | 416 | * |
417 | */ | 417 | */ |
418 | void sctp_icmp_proto_unreachable(struct sock *sk, | 418 | void sctp_icmp_proto_unreachable(struct sock *sk, |
419 | struct sctp_association *asoc, | 419 | struct sctp_association *asoc, |
420 | struct sctp_transport *t) | 420 | struct sctp_transport *t) |
421 | { | 421 | { |
422 | SCTP_DEBUG_PRINTK("%s\n", __FUNCTION__); | 422 | SCTP_DEBUG_PRINTK("%s\n", __FUNCTION__); |
423 | 423 | ||