Re: [PATCH] net: core: dev.c confirmed to use classic sockaddr

2024-12-17 Thread Kees Cook
On Tue, Dec 17, 2024 at 12:30:36PM -0800, Kees Cook wrote: > On Tue, Dec 17, 2024 at 10:35:44AM -0500, Willem de Bruijn wrote: > > Kees Cook wrote: > > > As part of trying to clean up struct sock_addr, add comments about the > > > sockaddr arguments of dev_[gs]et_mac_address() being actual classic

Re: [PATCH] net: core: dev.c confirmed to use classic sockaddr

2024-12-17 Thread Kees Cook
On Tue, Dec 17, 2024 at 10:35:44AM -0500, Willem de Bruijn wrote: > Kees Cook wrote: > > As part of trying to clean up struct sock_addr, add comments about the > > sockaddr arguments of dev_[gs]et_mac_address() being actual classic "max > > 14 bytes in sa_data" sockaddr instances and not struct soc

Re: [PATCH] net: core: dev.c confirmed to use classic sockaddr

2024-12-17 Thread Willem de Bruijn
Kees Cook wrote: > As part of trying to clean up struct sock_addr, add comments about the > sockaddr arguments of dev_[gs]et_mac_address() being actual classic "max > 14 bytes in sa_data" sockaddr instances and not struct sockaddr_storage. What is this assertion based on? I see various non-Ethern