diff options
| author | 2017-06-28 14:44:21 +0300 | |
|---|---|---|
| committer | 2017-06-29 14:19:24 -0400 | |
| commit | acb4b7df48b539cb391287921de57e4e5fae3460 (patch) | |
| tree | 597b43a9f7267cf3afad24dd89182f369e925752 /tools/perf/scripts/python/compaction-times.py | |
| parent | mlxsw: spectrum_router: Fix NULL pointer dereference (diff) | |
| download | wireguard-linux-acb4b7df48b539cb391287921de57e4e5fae3460.tar.xz wireguard-linux-acb4b7df48b539cb391287921de57e4e5fae3460.zip | |
rocker: move dereference before free
My static checker complains that ofdpa_neigh_del() can sometimes free
"found". It just makes sense to use it first before deleting it.
Fixes: ecf244f753e0 ("rocker: fix maybe-uninitialized warning")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
