diff options
author | Vlad Yasevich <vyasevich@gmail.com> | 2017-05-30 17:07:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-31 20:08:36 +0300 |
commit | 8c6c918da16f55fd4a5df53aa072ba3238f12fec (patch) | |
tree | 1dea70cd15dc7819acad3791c1daa8245e7778a2 /net/core/rtnetlink.c | |
parent | 7bc57950bd41d40685ca45a4079ce74d5d41250b (diff) | |
download | linux-8c6c918da16f55fd4a5df53aa072ba3238f12fec.tar.xz |
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>
Diffstat (limited to 'net/core/rtnetlink.c')
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 9da53e43750c..7084f1db2446 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -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); |