[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>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
9d17f21893
commit
48918a4dbd
@@ -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);
|
||||
|
Reference in New Issue
Block a user