Thread (13 messages) flat view 13 messages, 2 authors, 3d ago

Re: [PATCH net-next v2 4/6] netconsole: reject a target mixing IPv4 and IPv6 addresses

From: Breno Leitao <leitao@debian.org>
Date: 2026-08-11 13:20:21
Also in: lkml

On Mon, Aug 10, 2026 at 05:47:28PM +0100, Gustavo Luiz Duarte wrote:
The local_ip and remote_ip configfs attributes are written independently
and nothing stops a user from mixing ipv4 and ipv6. This leads to an
ipv4 address being zero-extended into an ipv6 header or an ipv6 address
being truncated to its first 4 bytes for an ipv4 header.

The command-line parser already refuses such a mismatch. This adds a
similar check when a dynamic target is being enabled.

Signed-off-by: Gustavo Luiz Duarte <redacted>
Reviewed-by: Breno Leitao <leitao@debian.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help