diff options
| author | Gustavo Luiz Duarte <gustavold@gmail.com> | 2026-09-03 17:26:00 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-09 18:09:52 -0700 |
| commit | f6e96d72f64a83b31655ce504a1029b155c16966 (patch) | |
| tree | f9e4decb047100a953c6680067864c16de76547b /include/linux/debugobjects.h | |
| parent | 0b799884350f722208206bdecb3f405138e54d92 (diff) | |
netconsole: add an address family to struct inet_addr
netconsole_target stores a single 'bool ipv6' to denote the target's
address family. This makes it hard to detect conditions like "no address
set" or ipv4/ipv6 mixup between local_ip and remote_ip.
Add a 'family' field to inet_addr so each address stores its own address
family: AF_UNSPEC while unset, else AF_INET or AF_INET6.
Nothing reads the new field yet. The next patch switches the users over
and removes the bool. No functional change.
Reviewed-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Gustavo Luiz Duarte <gustavold@gmail.com>
Link: https://patch.msgid.link/20260903-netcons_ipv6-v4-1-bdd183c844d3@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
