diff options
| author | Arnaldo Carvalho de Melo <acme@toy.ghostprotocols.net> | 2005-01-14 22:32:54 -0200 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2005-01-14 22:32:54 -0200 |
| commit | dbf390aca67ee01d93cb438a6e4f28897efcfcee (patch) | |
| tree | 1d5029bf07a808e81aa15f2e6aae515ee50cd124 /net/sctp/ulpqueue.c | |
| parent | 62343f7629a612d82f0314777b17dff7807976dc (diff) | |
[SCTP] merge sctp_sock with sctp_opt
No need for two structs, follow the new inet_sock layout style.
Also introduce inet_sk_copy_descendant, to copy just the inet_sock
descendant specific area from one sock to another.
Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ulpqueue.c')
| -rw-r--r-- | net/sctp/ulpqueue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sctp/ulpqueue.c b/net/sctp/ulpqueue.c index 47a43580f05b..d5dd2cf7ac4a 100644 --- a/net/sctp/ulpqueue.c +++ b/net/sctp/ulpqueue.c @@ -138,8 +138,7 @@ int sctp_ulpq_tail_data(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, */ int sctp_clear_pd(struct sock *sk) { - struct sctp_opt *sp; - sp = sctp_sk(sk); + struct sctp_sock *sp = sctp_sk(sk); sp->pd_mode = 0; if (!skb_queue_empty(&sp->pd_lobby)) { |
