commit | 4565d7e5a300fcc3a41d40dbcf7ff9d1fe316814 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Mon Oct 08 13:57:24 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 10 22:24:33 2018 -0700 |
tree | c05c60ccb86c698b857443d25364b553992ff894 | |
parent | 66077060f82a69e8dde0262a20a37622a6e1af8c [diff] |
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>