Skip to content
Commit 4565d7e5 authored by David Ahern's avatar David Ahern Committed by David S. Miller
Browse files

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: 8dfbda19

 ("rtnetlink: Move input checking for rtnl_fdb_dump to helper")
Reported-by: default avatarChristian Brauner <christian@brauner.io>
Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 66077060
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment