Home
last modified time | relevance | path

Searched hist:"4565 d7e5a300fcc3a41d40dbcf7ff9d1fe316814" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Drtnetlink.cdiff 4565d7e5a300fcc3a41d40dbcf7ff9d1fe316814 Mon Oct 08 15:57:24 CDT 2018 David Ahern <dsahern@gmail.com> rtnetlink: Move ifm in valid_fdb_dump_legacy to closer to use

Move setting of local variable ifm to after the message parsing in
valid_fdb_dump_legacy. Avoid potential future use of unchecked variable.

Fixes: 8dfbda19a21b ("rtnetlink: Move input checking for rtnl_fdb_dump to helper")
Reported-by: Christian Brauner <christian@brauner.io>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>