[NETFILTER]: nf_conntrack_{tcp,sctp}: mark state table const
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9ba99b0d3f
commit
77e2420b85
@ -110,7 +110,7 @@ cookie echoed to closed.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* SCTP conntrack state transitions */
|
/* SCTP conntrack state transitions */
|
||||||
static enum sctp_conntrack sctp_conntracks[2][9][SCTP_CONNTRACK_MAX] = {
|
static const enum sctp_conntrack sctp_conntracks[2][9][SCTP_CONNTRACK_MAX] = {
|
||||||
{
|
{
|
||||||
/* ORIGINAL */
|
/* ORIGINAL */
|
||||||
/* sNO, sCL, sCW, sCE, sES, sSS, sSR, sSA */
|
/* sNO, sCL, sCW, sCE, sES, sSS, sSR, sSA */
|
||||||
|
@ -149,7 +149,7 @@ enum tcp_bit_set {
|
|||||||
* if they are invalid
|
* if they are invalid
|
||||||
* or we do not support the request (simultaneous open)
|
* or we do not support the request (simultaneous open)
|
||||||
*/
|
*/
|
||||||
static enum tcp_conntrack tcp_conntracks[2][6][TCP_CONNTRACK_MAX] = {
|
static const enum tcp_conntrack tcp_conntracks[2][6][TCP_CONNTRACK_MAX] = {
|
||||||
{
|
{
|
||||||
/* ORIGINAL */
|
/* ORIGINAL */
|
||||||
/* sNO, sSS, sSR, sES, sFW, sCW, sLA, sTW, sCL, sLI */
|
/* sNO, sSS, sSR, sES, sFW, sCW, sLA, sTW, sCL, sLI */
|
||||||
|
Loading…
Reference in New Issue
Block a user