[DCCP]: Introduce the DCCP Kernel hacking menu
Only available if CONFIG_DEBUG_KERNEL is enabled in the "Kernel Hacking" Menu. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
此提交包含在:

提交者
David S. Miller

父節點
531669a0a9
當前提交
725ba8eee3
@@ -2078,6 +2078,15 @@ module_init(ccid3_module_init);
|
||||
|
||||
static __exit void ccid3_module_exit(void)
|
||||
{
|
||||
#ifdef CONFIG_IP_DCCP_UNLOAD_HACK
|
||||
/*
|
||||
* Hack to use while developing, so that we get rid of the control
|
||||
* sock, that is what keeps a refcount on dccp.ko -acme
|
||||
*/
|
||||
extern void dccp_ctl_sock_exit(void);
|
||||
|
||||
dccp_ctl_sock_exit();
|
||||
#endif
|
||||
ccid_unregister(&ccid3);
|
||||
|
||||
if (ccid3_tx_hist != NULL) {
|
||||
|
新增問題並參考
封鎖使用者