Re: [PATCH] netfilter: conntrack_amanda: fix port value truncation

From: Florian Westphal

Date: Wed Sep 09 2026 - 08:22:31 EST


netdev-bot+sashiko@xxxxxxxxxx <netdev-bot+sashiko@xxxxxxxxxx> wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider:
>
> Critical: 0 · High: 1 · Medium: 0 · Low: 0
>
> - [High] net/netfilter/nf_conntrack_amanda.c:amanda_help() — the new
> range check closes only the htons() truncation window for numbers that…

There is queued patch in the backlog that added a unified port parser
for use by all helpers:

https://patchwork.ozlabs.org/project/netfilter-devel/patch/20260503083220.630655-2-rc@xxxxxxxxx/

I think it would be good if the author of that series would rebase and
resend a new version.