mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
[NETPOLL]: no need to store local_mac
The local_mac is managed by the network device, no need to keep a spare copy and all the management problems that could cause. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5106930bd6
commit
0953864160
3 changed files with 8 additions and 13 deletions
|
@ -20,7 +20,7 @@ struct netpoll {
|
|||
|
||||
u32 local_ip, remote_ip;
|
||||
u16 local_port, remote_port;
|
||||
u8 local_mac[ETH_ALEN], remote_mac[ETH_ALEN];
|
||||
u8 remote_mac[ETH_ALEN];
|
||||
};
|
||||
|
||||
struct netpoll_info {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue