diff options
author | Ivan Skytte Jorgensen <isj-sctp@i1.dk> | 2006-12-20 19:07:04 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-22 14:12:04 -0500 |
commit | 0f3fffd8ab1db7658c97c167e8ab001cc814e1f4 (patch) | |
tree | e8531868627f2b9ac71800fd408969e025c2051a /net/sctp/ulpevent.c | |
parent | a3f7f142f73ed4cb23826bee84afc31d10377e39 (diff) |
[SCTP]: Fix typo adaption -> adaptation as per the latest API draft.
Signed-off-by: Ivan Skytte Jorgensen <isj-sctp@i1.dk>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ulpevent.c')
-rw-r--r-- | net/sctp/ulpevent.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net/sctp/ulpevent.c b/net/sctp/ulpevent.c index 93ac63b055ba..445e07a7ac4b 100644 --- a/net/sctp/ulpevent.c +++ b/net/sctp/ulpevent.c | |||
@@ -609,31 +609,31 @@ fail: | |||
609 | return NULL; | 609 | return NULL; |
610 | } | 610 | } |
611 | 611 | ||
612 | /* Create and initialize a SCTP_ADAPTION_INDICATION notification. | 612 | /* Create and initialize a SCTP_ADAPTATION_INDICATION notification. |
613 | * | 613 | * |
614 | * Socket Extensions for SCTP | 614 | * Socket Extensions for SCTP |
615 | * 5.3.1.6 SCTP_ADAPTION_INDICATION | 615 | * 5.3.1.6 SCTP_ADAPTATION_INDICATION |
616 | */ | 616 | */ |
617 | struct sctp_ulpevent *sctp_ulpevent_make_adaption_indication( | 617 | struct sctp_ulpevent *sctp_ulpevent_make_adaptation_indication( |
618 | const struct sctp_association *asoc, gfp_t gfp) | 618 | const struct sctp_association *asoc, gfp_t gfp) |
619 | { | 619 | { |
620 | struct sctp_ulpevent *event; | 620 | struct sctp_ulpevent *event; |
621 | struct sctp_adaption_event *sai; | 621 | struct sctp_adaptation_event *sai; |
622 | struct sk_buff *skb; | 622 | struct sk_buff *skb; |
623 | 623 | ||
624 | event = sctp_ulpevent_new(sizeof(struct sctp_adaption_event), | 624 | event = sctp_ulpevent_new(sizeof(struct sctp_adaptation_event), |
625 | MSG_NOTIFICATION, gfp); | 625 | MSG_NOTIFICATION, gfp); |
626 | if (!event) | 626 | if (!event) |
627 | goto fail; | 627 | goto fail; |
628 | 628 | ||
629 | skb = sctp_event2skb(event); | 629 | skb = sctp_event2skb(event); |
630 | sai = (struct sctp_adaption_event *) | 630 | sai = (struct sctp_adaptation_event *) |
631 | skb_put(skb, sizeof(struct sctp_adaption_event)); | 631 | skb_put(skb, sizeof(struct sctp_adaptation_event)); |
632 | 632 | ||
633 | sai->sai_type = SCTP_ADAPTION_INDICATION; | 633 | sai->sai_type = SCTP_ADAPTATION_INDICATION; |
634 | sai->sai_flags = 0; | 634 | sai->sai_flags = 0; |
635 | sai->sai_length = sizeof(struct sctp_adaption_event); | 635 | sai->sai_length = sizeof(struct sctp_adaptation_event); |
636 | sai->sai_adaption_ind = asoc->peer.adaption_ind; | 636 | sai->sai_adaptation_ind = asoc->peer.adaptation_ind; |
637 | sctp_ulpevent_set_owner(event, asoc); | 637 | sctp_ulpevent_set_owner(event, asoc); |
638 | sai->sai_assoc_id = sctp_assoc2id(asoc); | 638 | sai->sai_assoc_id = sctp_assoc2id(asoc); |
639 | 639 | ||