Files
linux/net/core
Christian Brauner 6cbd0932ab rtnetlink: move type calculation out of loop
[ Upstream commit 87ccbb1f94 ]

I don't see how the type - which is one of
RTM_{GETADDR,GETROUTE,GETNETCONF} - can change. So do the message type
calculation once before entering the for loop.

Signed-off-by: Christian Brauner <christian@brauner.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-20 18:45:58 +01:00
..
2018-08-03 21:12:12 +02:00
2018-08-04 13:05:39 -07:00