mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 04:26:45 +00:00
[NETFILTER]: nf_conntrack_sctp: replace magic value by symbolic constant
Use SCTP_CHUNK_FLAG_T instead of 0x1. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e37b386c95
commit
9b1c2cfd7a
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ static int sctp_packet(struct nf_conn *ct,
|
||||||
/* Sec 8.5.1 (C) */
|
/* Sec 8.5.1 (C) */
|
||||||
if (sh->vtag != ct->proto.sctp.vtag[dir] &&
|
if (sh->vtag != ct->proto.sctp.vtag[dir] &&
|
||||||
sh->vtag != ct->proto.sctp.vtag[!dir] &&
|
sh->vtag != ct->proto.sctp.vtag[!dir] &&
|
||||||
(sch->flags & 1))
|
sch->flags & SCTP_CHUNK_FLAG_T)
|
||||||
goto out_unlock;
|
goto out_unlock;
|
||||||
} else if (sch->type == SCTP_CID_COOKIE_ECHO) {
|
} else if (sch->type == SCTP_CID_COOKIE_ECHO) {
|
||||||
/* Sec 8.5.1 (D) */
|
/* Sec 8.5.1 (D) */
|
||||||
|
|
Loading…
Reference in a new issue