summaryrefslogtreecommitdiff
path: root/include/linux/netpoll.h
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-07-10 04:39:01 -0700
committerPaolo Abeni <pabeni@redhat.com>2026-07-17 12:09:16 +0200
commit49e03ca58334cd46dfd9267ced0ff91dcae2c451 (patch)
tree1f6cd026c3e2107a212095db15d16392c66d934b /include/linux/netpoll.h
parent3b247a595663744745dd0b602c6c6825c24eb354 (diff)
downloadlinux-next-49e03ca58334cd46dfd9267ced0ff91dcae2c451.tar.gz
linux-next-49e03ca58334cd46dfd9267ced0ff91dcae2c451.zip
netconsole: move remote_mac from struct netpoll to netconsole_target
The destination ethernet address is netconsole configuration: no other netpoll user (bonding, team, vlan, bridge, macvlan, dsa) references np->remote_mac, only netconsole's ethernet framing and its configfs/cmdline interface do. Move it into struct netconsole_target and convert push_eth() to take the netconsole_target; netconsole_print_banner() and netconsole_parser_cmdline() already take it. The configfs show/store handlers and alloc_and_init() reach the field directly. No functional change; the remote_mac sysfs attribute is unchanged. Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20260710-netconsole_move_more-v3-9-6f63f76b28bc@debian.org Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/netpoll.h')
-rw-r--r--include/linux/netpoll.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index 5ca79fa7d943..79315461a7b1 100644
--- a/include/linux/netpoll.h
+++ b/include/linux/netpoll.h
@@ -35,7 +35,6 @@ struct netpoll {
union inet_addr local_ip, remote_ip;
bool ipv6;
- u8 remote_mac[ETH_ALEN];
};
#define np_info(np, fmt, ...) \