diff options
| author | Markus Elfring <[email protected]> | 2024-01-02 06:27:45 +0000 |
|---|---|---|
| committer | Simon Wunderlich <[email protected]> | 2024-01-27 08:13:59 +0000 |
| commit | ffc15626c861f811f9778914be004fcf43810a91 (patch) | |
| tree | 6652cbf166a402500d9673c61e05aca0a0c1eb27 /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | batman-adv: Start new development cycle (diff) | |
| download | kernel-ffc15626c861f811f9778914be004fcf43810a91.tar.gz kernel-ffc15626c861f811f9778914be004fcf43810a91.zip | |
batman-adv: Return directly after a failed batadv_dat_select_candidates() in batadv_dat_forward_data()
The kfree() function was called in one case by
the batadv_dat_forward_data() function during error handling
even if the passed variable contained a null pointer.
This issue was detected by using the Coccinelle software.
* Thus return directly after a batadv_dat_select_candidates() call failed
at the beginning.
* Delete the label “out” which became unnecessary with this refactoring.
Signed-off-by: Markus Elfring <[email protected]>
Acked-by: Sven Eckelmann <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
