diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-11-05 10:56:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-05 10:56:30 +0300 |
commit | d99a7bd210a14001007fc5233597c78877f0a11c (patch) | |
tree | 366ef8703e0453608ed39e0e7c2f4f4d043a46e9 /net/dccp/proto.c | |
parent | ac75773c2742d82cbcb078708df406e9017224b7 (diff) | |
download | linux-d99a7bd210a14001007fc5233597c78877f0a11c.tar.xz |
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/proto.c')
-rw-r--r-- | net/dccp/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index 1cdf4ae99605..dafcefd86594 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c @@ -268,7 +268,7 @@ void dccp_destroy_sock(struct sock *sk) dp->dccps_hc_rx_ccid = dp->dccps_hc_tx_ccid = NULL; /* clean up feature negotiation state */ - dccp_feat_clean(dmsk); + dccp_feat_list_purge(&dp->dccps_featneg); } EXPORT_SYMBOL_GPL(dccp_destroy_sock); |