提交 28af0f00 编写于 作者: F Florian Westphal 提交者: Pablo Neira Ayuso

netfilter: conntrack: udp: fix seen-reply test

IPS_SEEN_REPLY_BIT is only useful for test_bit() api.

Fixes: 4883ec51 ("netfilter: conntrack: avoid reload of ct->status")
Reported-by: NRoi Dayan <roid@nvidia.com>
Signed-off-by: NFlorian Westphal <fw@strlen.de>
Reviewed-by: NRoi Dayan <roid@nvidia.com>
Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
上级 1fb7696a
...@@ -104,7 +104,7 @@ int nf_conntrack_udp_packet(struct nf_conn *ct, ...@@ -104,7 +104,7 @@ int nf_conntrack_udp_packet(struct nf_conn *ct,
/* If we've seen traffic both ways, this is some kind of UDP /* If we've seen traffic both ways, this is some kind of UDP
* stream. Set Assured. * stream. Set Assured.
*/ */
if (status & IPS_SEEN_REPLY_BIT) { if (status & IPS_SEEN_REPLY) {
unsigned long extra = timeouts[UDP_CT_UNREPLIED]; unsigned long extra = timeouts[UDP_CT_UNREPLIED];
bool stream = false; bool stream = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册