mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
netfilter: conntrack: udp: fix seen-reply test
IPS_SEEN_REPLY_BIT is only useful for test_bit() api.
Fixes: 4883ec512c ("netfilter: conntrack: avoid reload of ct->status")
Reported-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
1fb7696ac6
commit
28af0f009d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
* stream. Set Assured.
|
||||
*/
|
||||
if (status & IPS_SEEN_REPLY_BIT) {
|
||||
if (status & IPS_SEEN_REPLY) {
|
||||
unsigned long extra = timeouts[UDP_CT_UNREPLIED];
|
||||
bool stream = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue