[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>
This commit is contained in:

committed by
David S. Miller

parent
1bf40954cf
commit
9ad0977fe1
@@ -60,6 +60,7 @@
|
||||
|
||||
#include <net/sctp/sctp.h>
|
||||
#include <net/sctp/sm.h>
|
||||
#include <net/sctp/checksum.h>
|
||||
|
||||
/* Forward declarations for private helpers. */
|
||||
static sctp_xmit_t sctp_packet_append_data(struct sctp_packet *packet,
|
||||
|
Reference in New Issue
Block a user