On 10/8/18 6:36 AM, Sabrina Dubroca wrote: > diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h > index c7861e4b402c..dc9d2668d9bb 100644 > --- a/include/linux/netdevice.h > +++ b/include/linux/netdevice.h > @@ -2458,6 +2458,13 @@ struct netdev_notifier_info { > struct netlink_ext_ack *extack; > }; > > +struct netdev_notifier_info_ext { > + struct netdev_notifier_info info; /* must be first */ > + union { > + u32 u32;
I realize you want this to be generic, but that is a really odd definition. can you make that mtu instead? the union allows other use cases to add new names. > + } ext; > +}; > + > struct netdev_notifier_change_info { > struct netdev_notifier_info info; /* must be first */ > unsigned int flags_changed;