diff options
author | David Ahern <dsahern@gmail.com> | 2018-10-08 13:57:24 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-10 22:24:33 -0700 |
commit | 4565d7e5a300fcc3a41d40dbcf7ff9d1fe316814 (patch) | |
tree | c05c60ccb86c698b857443d25364b553992ff894 /lib/checksum.c | |
parent | Merge branch 'mlxsw-selftests-Few-small-updates' (diff) | |
download | linux-dev-4565d7e5a300fcc3a41d40dbcf7ff9d1fe316814.tar.xz linux-dev-4565d7e5a300fcc3a41d40dbcf7ff9d1fe316814.zip |
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>
Diffstat (limited to 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions