summaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-08-06 23:18:12 +0400
committerDavid S. Miller <davem@davemloft.net>2013-08-09 22:33:02 +0400
commitcda5f98e36576596b9230483ec52bff3cc97eb21 (patch)
treeb828a60d8b6000704d91e35d10247f322a8d3ef8 /include/net/netns
parent2690048c01f32bf45d1c1e1ab3079bc10ad2aea7 (diff)
downloadlinux-cda5f98e36576596b9230483ec52bff3cc97eb21.tar.xz
net: sctp: convert sctp_checksum_disable module param into sctp sysctl
Get rid of the last module parameter for SCTP and make this configurable via sysctl for SCTP like all the rest of SCTP's configuration knobs. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/sctp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netns/sctp.h b/include/net/netns/sctp.h
index 3573a81815ad..ebfdf1e7d402 100644
--- a/include/net/netns/sctp.h
+++ b/include/net/netns/sctp.h
@@ -129,6 +129,9 @@ struct netns_sctp {
/* Threshold for autoclose timeout, in seconds. */
unsigned long max_autoclose;
+
+ /* Flag to disable SCTP checksumming. */
+ int checksum_disable;
};
#endif /* __NETNS_SCTP_H__ */