Re: [PATCH] rtnetlink: fix missing size for IFLA_IF_NETNSID
From: David Miller
Date: Tue Nov 07 2017 - 23:47:02 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 6 Nov 2017 15:04:54 +0000
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>
Applied to net-next, thank you!