diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:30:19 -0400 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:45:26 -0400 |
commit | 702083839b607f390dbed5d2304eb8fc5f4c85ac (patch) | |
tree | 08e042059da89626580ceddec6bebefaf8267115 /net/dccp/dccp.h | |
parent | 828755cee087e4a34f45d6c9db661ccd0631cc6d (diff) |
dccp: Cleanup routines for feature negotiation
This inserts the required de-allocation routines for memory allocated by
feature negotiation in the socket destructors, replacing dccp_feat_clean()
in one instance.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index ab096c06bba0..dee4a90886d6 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -442,6 +442,8 @@ static inline int dccp_ack_pending(const struct sock *sk) | |||
442 | inet_csk_ack_scheduled(sk); | 442 | inet_csk_ack_scheduled(sk); |
443 | } | 443 | } |
444 | 444 | ||
445 | extern void dccp_feat_list_purge(struct list_head *fn_list); | ||
446 | |||
445 | extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb); | 447 | extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb); |
446 | extern int dccp_insert_options_rsk(struct dccp_request_sock*, struct sk_buff*); | 448 | extern int dccp_insert_options_rsk(struct dccp_request_sock*, struct sk_buff*); |
447 | extern int dccp_insert_option_elapsed_time(struct sock *sk, | 449 | extern int dccp_insert_option_elapsed_time(struct sock *sk, |