linux/net/dccp/ccids
Gerrit Renker 2e86908f7d [CCID3]: Move NULL-protection into function
This moves several instances of testing against NULL into the function which is
used to de-reference the CCID-private data.

Committer note: Made the BUG_ON depend on having CONFIG_IP_DCCP_CCID3_DEBUG, as it
                is too much to have this on production code. Also made sure that
                the macro is used only after checking if sk_state is not LISTEN,
                to make it equivalent to what we had before.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
2007-10-10 16:52:41 -07:00
..
lib [DCCP] packet_history: Convert dccphtx_tstamp to ktime_t 2007-10-10 16:48:15 -07:00
Kconfig [DCCP]: Use higher RTO default for CCID3 2006-12-03 14:50:23 -02:00
Makefile [DCCP] CCID2: Initial CCID2 (TCP-Like) implementation 2006-03-20 17:41:47 -08:00
ccid2.c [DCCP]: Allocation in atomic context 2007-08-21 20:58:06 -07:00
ccid2.h [DCCP] ccid2: Allow window to grow larger 2006-12-02 21:30:34 -08:00
ccid3.c [CCID3]: Move NULL-protection into function 2007-10-10 16:52:41 -07:00
ccid3.h [CCID3]: Move NULL-protection into function 2007-10-10 16:52:41 -07:00