]> git.baikalelectronics.ru Git - kernel.git/commit
net: rtnetlink: unify the code in __rtnl_newlink get dev with the rest
authorJiri Pirko <jiri@mellanox.com>
Mon, 30 Sep 2019 09:48:18 +0000 (11:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2019 21:47:19 +0000 (14:47 -0700)
commit4a1890e2e81e6a2928a54f288dd981562eac2e1a
treeb82e9700fbd64855c2557ee197aca54730eeb451
parenta34da510b73aeb779964ac89113afd7ddb3e8083
net: rtnetlink: unify the code in __rtnl_newlink get dev with the rest

__rtnl_newlink() code flow is a bit different around tb[IFLA_IFNAME]
processing comparing to the other places. Change that to be unified with
the rest.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c