Thread (3 messages) 3 messages, 2 authors, 2017-08-04

Re: uapi: MAX_ADDR_LEN vs. numeric 32

flat view

From: Mikko Rapeli <hidden>
Date: 2017-08-04 22:34:51

On Sat, Aug 05, 2017 at 01:25:19AM +0300, Dmitry V. Levin wrote:
On Sat, Aug 05, 2017 at 12:33:25AM +0300, Mikko Rapeli wrote:
quoted
I find using MAX_ADDR_LEN better than numeric 32, though I doubt this will
change any time soon. Would you mind if I change packet_diag.h and
if_link.h to use that instead and fix the userspace compilation
problems by including netdevice.h?
The alternative fix, that is, to include <linux/netdevice.h>
which pulls in other headers and a lot of definitions with them,
has been mentioned in the discussion, too.
We decided that the fix that was applied would be the least of all evils.
Ok, that's fine then. I'll drop my netdevice.h inclusion patch.

Thanks,

-Mikko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help