diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-10-30 11:20:59 +1100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-10-31 19:26:17 -0200 |
commit | 48918a4dbd6c599d6af30bd64cb355fadca708eb (patch) | |
tree | 31893d50f1e21ba19e1acc59c117e220ff57205b /net/dccp/dccp.h | |
parent | 9d17f218936a0fee43ad9493a841136589c942cd (diff) | |
download | kernel_samsung_crespo-48918a4dbd6c599d6af30bd64cb355fadca708eb.zip kernel_samsung_crespo-48918a4dbd6c599d6af30bd64cb355fadca708eb.tar.gz kernel_samsung_crespo-48918a4dbd6c599d6af30bd64cb355fadca708eb.tar.bz2 |
[DCCP]: Simplify skb_set_owner_w semantics
While we're at it let's reorganise the set_owner_w calls a little so that:
1) dccp_transmit_skb sets the owner for all packets except data packets.
2) Add dccp_skb_entail to set owner for packets queued for retransmission.
3) Make dccp_transmit_skb static.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 5871c02..f97b85d 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h @@ -118,7 +118,6 @@ DECLARE_SNMP_STAT(struct dccp_mib, dccp_statistics); #define DCCP_ADD_STATS_USER(field, val) \ SNMP_ADD_STATS_USER(dccp_statistics, field, val) -extern int dccp_transmit_skb(struct sock *sk, struct sk_buff *skb); extern int dccp_retransmit_skb(struct sock *sk, struct sk_buff *skb); extern int dccp_send_response(struct sock *sk); |