diff options
author | Clément Léger <[email protected]> | 2022-04-21 12:12:47 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-04-22 15:12:18 -0700 |
commit | 7f40ea2145d926510b27b785562d2c92df1b0d91 (patch) | |
tree | 1203e8603abefdd9a13e4f815c0312939fb1400d /lib/test-string_helpers.c | |
parent | 5b0b9e4c2c895227c8852488b3f09839233bba54 (diff) |
net: bridge: switchdev: check br_vlan_group() return value
br_vlan_group() can return NULL and thus return value must be checked
to avoid dereferencing a NULL pointer.
Fixes: 6284c723d9b9 ("net: bridge: mst: Notify switchdev drivers of VLAN MSTI migrations")
Signed-off-by: Clément Léger <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions