vxlan: Cleanup IFLA_VXLAN_PORT_RANGE entry in vxlan_get_size()
authorBenjamin Poirier <bpoirier@nvidia.com>
Fri, 27 Oct 2023 18:44:10 +0000 (14:44 -0400)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Oct 2023 22:36:38 +0000 (15:36 -0700)
commit6d90b64256f39511d0083111e167321dc6a6add2
tree064ad6814a031e247f98fa73bc65f29300e0d594
parenta4213705b88e61cadb5df41e3bc7aae4f4b7f3ec
vxlan: Cleanup IFLA_VXLAN_PORT_RANGE entry in vxlan_get_size()

This patch is basically a followup to commit 4e4b1798cc90 ("vxlan: Add
missing entries to vxlan_get_size()"). All of the attributes in
vxlan_get_size() appear in the same order that they are filled in
vxlan_fill_info() except for IFLA_VXLAN_PORT_RANGE. For consistency, move
that entry to match its order and add a comment, like for all other
entries.

Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Link: https://lore.kernel.org/r/20231027184410.236671-1-bpoirier@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/vxlan/vxlan_core.c