diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-09-26 11:24:28 -0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:52:41 -0700 |
commit | 2e86908f7dfb71b67ca4739d9a6c678b83b01078 (patch) | |
tree | 34000d4935057601e86b448698ff5fa55910b852 /include/asm-sparc/termbits.h | |
parent | 08831700cc65f85a497d6b32b1c83ca84d71de4a (diff) | |
download | kernel-crypto-2e86908f7dfb71b67ca4739d9a6c678b83b01078.tar.gz kernel-crypto-2e86908f7dfb71b67ca4739d9a6c678b83b01078.tar.xz kernel-crypto-2e86908f7dfb71b67ca4739d9a6c678b83b01078.zip |
[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>
Diffstat (limited to 'include/asm-sparc/termbits.h')
0 files changed, 0 insertions, 0 deletions