Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a05b1019 authored by Daniel Borkmann's avatar Daniel Borkmann Committed by David S. Miller
Browse files

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: default avatarDaniel Borkmann <dborkman@redhat.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 37beae65
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -42,6 +42,9 @@
 * be incorporated into the next SCTP release.
 */

#ifndef __sctp_checksum_h__
#define __sctp_checksum_h__

#include <linux/types.h>
#include <net/sctp/sctp.h>
#include <linux/crc32c.h>
@@ -81,3 +84,5 @@ static inline __le32 sctp_end_cksum(__u32 crc32)
{
	return cpu_to_le32(~crc32);
}

#endif /* __sctp_checksum_h__ */