• Davide Caratti's avatar
    net: introduce skb_crc32c_csum_help · b72b5bf6
    Davide Caratti authored
    skb_crc32c_csum_help is like skb_checksum_help, but it is designed for
    checksumming SCTP packets using crc32c (see RFC3309), provided that
    libcrc32c.ko has been loaded before. In case libcrc32c is not loaded,
    invoking skb_crc32c_csum_help on a skb results in one the following
    printouts:
    
    warn_crc32c_csum_update: attempt to compute crc32c without libcrc32c.ko
    warn_crc32c_csum_combine: attempt to compute crc32c without libcrc32c.ko
    Signed-off-by: default avatarDavide Caratti <dcaratti@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b72b5bf6
dev.c 214 KB