diff options
| author | Anton Altaparmakov <aia21@cantab.net> | 2005-07-13 18:09:23 -0400 |
|---|---|---|
| committer | Anton Altaparmakov <aia21@cantab.net> | 2005-07-13 18:09:23 -0400 |
| commit | c514720716c7b109ff980f8b3cb93f9af872c91c (patch) | |
| tree | 490a9578995705de69712893a190b67651bddc56 /net/sctp/ulpqueue.c | |
| parent | 07929dcb963786512c760dd3ecd148d89295e7e5 (diff) | |
| parent | 1e279dd855d15b72364b4103f872d67d8592647e (diff) | |
Automatic merge with /usr/src/ntfs-2.6.git.
Diffstat (limited to 'net/sctp/ulpqueue.c')
| -rw-r--r-- | net/sctp/ulpqueue.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/sctp/ulpqueue.c b/net/sctp/ulpqueue.c index d5dd2cf7ac4a..8bbc279d6c99 100644 --- a/net/sctp/ulpqueue.c +++ b/net/sctp/ulpqueue.c | |||
| @@ -100,7 +100,7 @@ void sctp_ulpq_free(struct sctp_ulpq *ulpq) | |||
| 100 | 100 | ||
| 101 | /* Process an incoming DATA chunk. */ | 101 | /* Process an incoming DATA chunk. */ |
| 102 | int sctp_ulpq_tail_data(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, | 102 | int sctp_ulpq_tail_data(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, |
| 103 | int gfp) | 103 | unsigned int __nocast gfp) |
| 104 | { | 104 | { |
| 105 | struct sk_buff_head temp; | 105 | struct sk_buff_head temp; |
| 106 | sctp_data_chunk_t *hdr; | 106 | sctp_data_chunk_t *hdr; |
| @@ -778,7 +778,8 @@ static __u16 sctp_ulpq_renege_frags(struct sctp_ulpq *ulpq, __u16 needed) | |||
| 778 | 778 | ||
| 779 | /* Partial deliver the first message as there is pressure on rwnd. */ | 779 | /* Partial deliver the first message as there is pressure on rwnd. */ |
| 780 | void sctp_ulpq_partial_delivery(struct sctp_ulpq *ulpq, | 780 | void sctp_ulpq_partial_delivery(struct sctp_ulpq *ulpq, |
| 781 | struct sctp_chunk *chunk, int gfp) | 781 | struct sctp_chunk *chunk, |
| 782 | unsigned int __nocast gfp) | ||
| 782 | { | 783 | { |
| 783 | struct sctp_ulpevent *event; | 784 | struct sctp_ulpevent *event; |
| 784 | struct sctp_association *asoc; | 785 | struct sctp_association *asoc; |
| @@ -802,7 +803,7 @@ void sctp_ulpq_partial_delivery(struct sctp_ulpq *ulpq, | |||
| 802 | 803 | ||
| 803 | /* Renege some packets to make room for an incoming chunk. */ | 804 | /* Renege some packets to make room for an incoming chunk. */ |
| 804 | void sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, | 805 | void sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, |
| 805 | int gfp) | 806 | unsigned int __nocast gfp) |
| 806 | { | 807 | { |
| 807 | struct sctp_association *asoc; | 808 | struct sctp_association *asoc; |
| 808 | __u16 needed, freed; | 809 | __u16 needed, freed; |
| @@ -841,7 +842,7 @@ void sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, | |||
| 841 | /* Notify the application if an association is aborted and in | 842 | /* Notify the application if an association is aborted and in |
| 842 | * partial delivery mode. Send up any pending received messages. | 843 | * partial delivery mode. Send up any pending received messages. |
| 843 | */ | 844 | */ |
| 844 | void sctp_ulpq_abort_pd(struct sctp_ulpq *ulpq, int gfp) | 845 | void sctp_ulpq_abort_pd(struct sctp_ulpq *ulpq, unsigned int __nocast gfp) |
| 845 | { | 846 | { |
| 846 | struct sctp_ulpevent *ev = NULL; | 847 | struct sctp_ulpevent *ev = NULL; |
| 847 | struct sock *sk; | 848 | struct sock *sk; |
