summaryrefslogtreecommitdiffstats
path: root/net/sctp/Kconfig
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2007-12-16 23:06:41 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:58:20 +0100
commit9ad0977fe10bd5d052a6db7738afe017367c2e32 (patch)
tree811087dfc2e70d7ef120815c7471c943ac193f6d /net/sctp/Kconfig
parent[PACKET]: Fix /proc/net/packet crash due to bogus private pointer (diff)
downloadlinux-9ad0977fe10bd5d052a6db7738afe017367c2e32.tar.xz
linux-9ad0977fe10bd5d052a6db7738afe017367c2e32.zip
[SCTP]: Use crc32c library for checksum calculations.
The crc32c library used an identical table and algorithm as SCTP. Switch to using the library instead of carrying our own table. Using crypto layer proved to have too much overhead compared to using the library directly. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/Kconfig')
-rw-r--r--net/sctp/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sctp/Kconfig b/net/sctp/Kconfig
index 5390bc792159..0b79f869c4ea 100644
--- a/net/sctp/Kconfig
+++ b/net/sctp/Kconfig
@@ -10,6 +10,7 @@ menuconfig IP_SCTP
select CRYPTO_HMAC
select CRYPTO_SHA1
select CRYPTO_MD5 if SCTP_HMAC_MD5
+ select LIBCRC32C
---help---
Stream Control Transmission Protocol