diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 14:38:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 14:38:13 -0500 |
commit | cb18eccff48ef3986d1072964590bce6fec705fb (patch) | |
tree | 777fb1d15e0281341e1e02c9803d989538d346f2 /net/sctp/input.c | |
parent | c827ba4cb49a30ce581201fd0ba2be77cde412c7 (diff) | |
parent | 5ef213f6842277ee1df5659f59fac0ffc9beb411 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (45 commits)
[IPV4]: Restore multipath routing after rt_next changes.
[XFRM] IPV6: Fix outbound RO transformation which is broken by IPsec tunnel patch.
[NET]: Reorder fields of struct dst_entry
[DECNET]: Convert decnet route to use the new dst_entry 'next' pointer
[IPV6]: Convert ipv6 route to use the new dst_entry 'next' pointer
[IPV4]: Convert ipv4 route to use the new dst_entry 'next' pointer
[NET]: Introduce union in struct dst_entry to hold 'next' pointer
[DECNET]: fix misannotation of linkinfo_dn
[DECNET]: FRA_{DST,SRC} are le16 for decnet
[UDP]: UDP can use sk_hash to speedup lookups
[NET]: Fix whitespace errors.
[NET] XFRM: Fix whitespace errors.
[NET] X25: Fix whitespace errors.
[NET] WANROUTER: Fix whitespace errors.
[NET] UNIX: Fix whitespace errors.
[NET] TIPC: Fix whitespace errors.
[NET] SUNRPC: Fix whitespace errors.
[NET] SCTP: Fix whitespace errors.
[NET] SCHED: Fix whitespace errors.
[NET] RXRPC: Fix whitespace errors.
...
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 | ||