commit | acb4b7df48b539cb391287921de57e4e5fae3460 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 28 14:44:21 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 29 14:19:24 2017 -0400 |
tree | 597b43a9f7267cf3afad24dd89182f369e925752 | |
parent | 6b27c8adf27edf1dabe2cdcfaa101ef7e2712415 [diff] |
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>