* [PATCH netfilter-next] netfilter: nf_conntrack_sip: tear down expectations on CANCEL
@ 2026-12-01 20:57 Florian Fainelli
0 siblings, 0 replies; only message in thread
From: Florian Fainelli @ 2026-12-01 20:57 UTC (permalink / raw)
To: netdev
Cc: bcm-kernel-feedback-list, Anand Gore, Florian Fainelli,
Pablo Neira Ayuso, Jozsef Kadlecsik, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman,
open list:NETFILTER, open list:NETFILTER, open list
From: Anand Gore <anand.gore@broadcom.com>
RFC 3261 requires a CANCEL request to terminate the pending INVITE
transaction it targets the same way a BYE would for an established
dialog, including releasing any RTP/RTCP expectations created for it.
Route CANCEL through process_bye_request(), which already does this
for BYE.
Signed-off-by: Anand Gore <anand.gore@broadcom.com>
[florian: commit message, forward ported]
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
net/netfilter/nf_conntrack_sip.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/netfilter/nf_conntrack_sip.c b/net/netfilter/nf_conntrack_sip.c
index b05dc8858d09..1e649bd2c0d8 100644
--- a/net/netfilter/nf_conntrack_sip.c
+++ b/net/netfilter/nf_conntrack_sip.c
@@ -1516,6 +1516,7 @@ static const struct sip_handler sip_handlers[] = {
SIP_HANDLER("ACK", process_sdp, NULL),
SIP_HANDLER("PRACK", process_sdp, process_prack_response),
SIP_HANDLER("BYE", process_bye_request, NULL),
+ SIP_HANDLER("CANCEL", process_bye_request, NULL),
SIP_HANDLER("REGISTER", process_register_request, process_register_response),
};
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 20:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 20:57 [PATCH netfilter-next] netfilter: nf_conntrack_sip: tear down expectations on CANCEL Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox