[CCID]: Check if ccid is NULL in the hc_[tr]x_exit functions
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Tue, 11 Oct 2005 04:24:20 +0000 (21:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Oct 2005 04:24:20 +0000 (21:24 -0700)
commit777b25a2fea7129222eb11fba55c0a67982383ff
tree51e4a429fc09a8401371e47db9845d119408e576
parent061cb4a0ec34a6e3069d5a1b3c547e55a71498c5
[CCID]: Check if ccid is NULL in the hc_[tr]x_exit functions

For consistency with ccid_exit and to fix a bug when
IP_DCCP_UNLOAD_HACK is enabled as the control sock is not associated
to any CCID.

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccid.h