diff options
author | Christian Brauner <christian@brauner.io> | 2018-09-04 21:53:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-05 22:27:11 -0700 |
commit | 87ccbb1f943625884b824c5560f635dcea8e4510 (patch) | |
tree | 90e6dc1b7e7dfacd0970a32400deada16b3bdce4 /tools/include/uapi/linux | |
parent | ipv6: enable IFA_TARGET_NETNSID for RTM_GETADDR (diff) | |
download | linux-dev-87ccbb1f943625884b824c5560f635dcea8e4510.tar.xz linux-dev-87ccbb1f943625884b824c5560f635dcea8e4510.zip |
rtnetlink: move type calculation out of loop
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>
Diffstat (limited to 'tools/include/uapi/linux')
0 files changed, 0 insertions, 0 deletions