mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
rtnetlink: use the new rtnl_get_event() interface
Small clean-up to rtmsg_ifinfo() to use the rtnl_get_event() interface instead of using 'internal' values directly. Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7bc57950bd
commit
8c6c918da1
@ -2896,7 +2896,7 @@ static void rtmsg_ifinfo_event(int type, struct net_device *dev,
|
||||
void rtmsg_ifinfo(int type, struct net_device *dev, unsigned int change,
|
||||
gfp_t flags)
|
||||
{
|
||||
rtmsg_ifinfo_event(type, dev, change, IFLA_EVENT_NONE, flags);
|
||||
rtmsg_ifinfo_event(type, dev, change, rtnl_get_event(0), flags);
|
||||
}
|
||||
EXPORT_SYMBOL(rtmsg_ifinfo);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user