diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-12-16 17:06:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:58:20 -0500 |
commit | 9ad0977fe10bd5d052a6db7738afe017367c2e32 (patch) | |
tree | 811087dfc2e70d7ef120815c7471c943ac193f6d /net/sctp/input.c | |
parent | 1bf40954cf232a043a49623cf251f787c1871e64 (diff) |
[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/input.c')
-rw-r--r-- | net/sctp/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index 91ae463b079b..b08c7cb5c9d6 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c | |||
@@ -60,6 +60,7 @@ | |||
60 | #include <net/xfrm.h> | 60 | #include <net/xfrm.h> |
61 | #include <net/sctp/sctp.h> | 61 | #include <net/sctp/sctp.h> |
62 | #include <net/sctp/sm.h> | 62 | #include <net/sctp/sm.h> |
63 | #include <net/sctp/checksum.h> | ||
63 | 64 | ||
64 | /* Forward declarations for internal helpers. */ | 65 | /* Forward declarations for internal helpers. */ |
65 | static int sctp_rcv_ootb(struct sk_buff *); | 66 | static int sctp_rcv_ootb(struct sk_buff *); |