Re: [PATCH net-next v2 1/7] skbuff: add stub to help computing crc32c on SCTP packets

2017-05-17 Thread David Miller
From: Davide Caratti Date: Tue, 16 May 2017 18:27:45 +0200 > @@ -2243,6 +2243,30 @@ __wsum skb_copy_and_csum_bits(const struct sk_buff > *skb, int offset, > } > EXPORT_SYMBOL(skb_copy_and_csum_bits); > > +static __wsum warn_crc32c_csum_update(const void *buff, int len,

[PATCH net-next v2 1/7] skbuff: add stub to help computing crc32c on SCTP packets

2017-05-16 Thread Davide Caratti
sctp_compute_checksum requires crc32c symbol (provided by libcrc32c), so it can't be used in net core. Like it has been done previously with other symbols (e.g. ipv6_dst_lookup), introduce a stub struct skb_checksum_ops to allow computation of crc32c checksum in net core after sctp.ko (and thus