Re: [PATCH net] net: mv __dev_notify_flags from void to int

2018-07-04 Thread David Miller
From: Hangbin Liu Date: Wed, 4 Jul 2018 14:29:46 +0800 > @@ -7062,8 +7073,7 @@ int dev_change_flags(struct net_device *dev, unsigned > int flags) > return ret; > > changes = (old_flags ^ dev->flags) | (old_gflags ^ dev->gflags); > - __dev_notify_flags(dev, old_flags, c

[PATCH net] net: mv __dev_notify_flags from void to int

2018-07-03 Thread Hangbin Liu
As call_netdevice_notifiers() and call_netdevice_notifiers_info() have return values, we should also return the values in function __dev_notify_flags(). Signed-off-by: Hangbin Liu --- include/linux/netdevice.h | 2 +- net/core/dev.c| 30 -- 2 files change