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/sm_statefuns.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/sm_statefuns.c')
-rw-r--r-- | net/sctp/sm_statefuns.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index 27cc444aaf11..aa51d190bfb2 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -688,12 +688,12 @@ sctp_disposition_t sctp_sf_do_5_1D_ce(const struct sctp_endpoint *ep, | |||
688 | goto nomem_ev; | 688 | goto nomem_ev; |
689 | 689 | ||
690 | /* Sockets API Draft Section 5.3.1.6 | 690 | /* Sockets API Draft Section 5.3.1.6 |
691 | * When a peer sends a Adaption Layer Indication parameter , SCTP | 691 | * When a peer sends a Adaptation Layer Indication parameter , SCTP |
692 | * delivers this notification to inform the application that of the | 692 | * delivers this notification to inform the application that of the |
693 | * peers requested adaption layer. | 693 | * peers requested adaptation layer. |
694 | */ | 694 | */ |
695 | if (new_asoc->peer.adaption_ind) { | 695 | if (new_asoc->peer.adaptation_ind) { |
696 | ai_ev = sctp_ulpevent_make_adaption_indication(new_asoc, | 696 | ai_ev = sctp_ulpevent_make_adaptation_indication(new_asoc, |
697 | GFP_ATOMIC); | 697 | GFP_ATOMIC); |
698 | if (!ai_ev) | 698 | if (!ai_ev) |
699 | goto nomem_aiev; | 699 | goto nomem_aiev; |
@@ -820,12 +820,12 @@ sctp_disposition_t sctp_sf_do_5_1E_ca(const struct sctp_endpoint *ep, | |||
820 | sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); | 820 | sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); |
821 | 821 | ||
822 | /* Sockets API Draft Section 5.3.1.6 | 822 | /* Sockets API Draft Section 5.3.1.6 |
823 | * When a peer sends a Adaption Layer Indication parameter , SCTP | 823 | * When a peer sends a Adaptation Layer Indication parameter , SCTP |
824 | * delivers this notification to inform the application that of the | 824 | * delivers this notification to inform the application that of the |
825 | * peers requested adaption layer. | 825 | * peers requested adaptation layer. |
826 | */ | 826 | */ |
827 | if (asoc->peer.adaption_ind) { | 827 | if (asoc->peer.adaptation_ind) { |
828 | ev = sctp_ulpevent_make_adaption_indication(asoc, GFP_ATOMIC); | 828 | ev = sctp_ulpevent_make_adaptation_indication(asoc, GFP_ATOMIC); |
829 | if (!ev) | 829 | if (!ev) |
830 | goto nomem; | 830 | goto nomem; |
831 | 831 | ||
@@ -1698,12 +1698,12 @@ static sctp_disposition_t sctp_sf_do_dupcook_b(const struct sctp_endpoint *ep, | |||
1698 | sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); | 1698 | sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); |
1699 | 1699 | ||
1700 | /* Sockets API Draft Section 5.3.1.6 | 1700 | /* Sockets API Draft Section 5.3.1.6 |
1701 | * When a peer sends a Adaption Layer Indication parameter , SCTP | 1701 | * When a peer sends a Adaptation Layer Indication parameter , SCTP |
1702 | * delivers this notification to inform the application that of the | 1702 | * delivers this notification to inform the application that of the |
1703 | * peers requested adaption layer. | 1703 | * peers requested adaptation layer. |
1704 | */ | 1704 | */ |
1705 | if (asoc->peer.adaption_ind) { | 1705 | if (asoc->peer.adaptation_ind) { |
1706 | ev = sctp_ulpevent_make_adaption_indication(asoc, GFP_ATOMIC); | 1706 | ev = sctp_ulpevent_make_adaptation_indication(asoc, GFP_ATOMIC); |
1707 | if (!ev) | 1707 | if (!ev) |
1708 | goto nomem_ev; | 1708 | goto nomem_ev; |
1709 | 1709 | ||
@@ -1791,12 +1791,12 @@ static sctp_disposition_t sctp_sf_do_dupcook_d(const struct sctp_endpoint *ep, | |||
1791 | goto nomem; | 1791 | goto nomem; |
1792 | 1792 | ||
1793 | /* Sockets API Draft Section 5.3.1.6 | 1793 | /* Sockets API Draft Section 5.3.1.6 |
1794 | * When a peer sends a Adaption Layer Indication parameter, | 1794 | * When a peer sends a Adaptation Layer Indication parameter, |
1795 | * SCTP delivers this notification to inform the application | 1795 | * SCTP delivers this notification to inform the application |
1796 | * that of the peers requested adaption layer. | 1796 | * that of the peers requested adaptation layer. |
1797 | */ | 1797 | */ |
1798 | if (asoc->peer.adaption_ind) { | 1798 | if (asoc->peer.adaptation_ind) { |
1799 | ai_ev = sctp_ulpevent_make_adaption_indication(asoc, | 1799 | ai_ev = sctp_ulpevent_make_adaptation_indication(asoc, |
1800 | GFP_ATOMIC); | 1800 | GFP_ATOMIC); |
1801 | if (!ai_ev) | 1801 | if (!ai_ev) |
1802 | goto nomem; | 1802 | goto nomem; |