dccp: Cleanup routines for feature negotiation
[deliverable/linux.git] / net / dccp / proto.c
index 1cdf4ae99605c9adf390010278a1341965a3d30e..dafcefd865948dd42407d5fbb586fd7fdcad0af8 100644 (file)
@@ -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);
This page took 0.056152 seconds and 5 git commands to generate.