Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: sctp: prevent checksum.h from double inclusion

The header file checksum.h is missing proper defines that prevents
it from double inclusion.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Daniel Borkmann and committed by
David S. Miller
a05b1019 37beae65

+5
+5
include/net/sctp/checksum.h
··· 42 42 * be incorporated into the next SCTP release. 43 43 */ 44 44 45 + #ifndef __sctp_checksum_h__ 46 + #define __sctp_checksum_h__ 47 + 45 48 #include <linux/types.h> 46 49 #include <net/sctp/sctp.h> 47 50 #include <linux/crc32c.h> ··· 84 81 { 85 82 return cpu_to_le32(~crc32); 86 83 } 84 + 85 + #endif /* __sctp_checksum_h__ */