rtnetlink: fix missing size for IFLA_IF_NETNSID
authorColin Ian King <colin.king@canonical.com>
Mon, 6 Nov 2017 15:04:54 +0000 (15:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Nov 2017 04:46:25 +0000 (13:46 +0900)
commit03ac738d5cf2f97ffa1209f6fd5d4bc211a933de
treec927cc489307ccecf62d63fc083300893dea4542
parentac71a1f94418b9b83c9bf04f76954570d88c9590
rtnetlink: fix missing size for IFLA_IF_NETNSID

The size for IFLA_IF_NETNSID is missing from the size calculation
because the proceeding semicolon was not removed. Fix this by removing
the semicolon.

Detected by CoverityScan, CID#1461135 ("Structurally dead code")

Fixes: 79e1ad148c84 ("rtnetlink: use netnsid to query interface")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c