diff options
author | Thierry Reding <treding@nvidia.com> | 2016-08-16 16:45:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-18 01:33:40 +0200 |
commit | d2d371ae5dd6af9a6a3d7f50b753627c42868409 (patch) | |
tree | 0448b569f7e458ee980c93c7b2c4afcdc5aa7dbc /net/Makefile | |
parent | Merge tag 'batadv-next-for-davem-20160816' of git://git.open-mesh.org/linux-m... (diff) | |
download | linux-d2d371ae5dd6af9a6a3d7f50b753627c42868409.tar.xz linux-d2d371ae5dd6af9a6a3d7f50b753627c42868409.zip |
net: ipconfig: Fix more use after free
While commit 9c706a49d660 ("net: ipconfig: fix use after free") avoids
the use after free, the resulting code still ends up calling both the
ic_setup_if() and ic_setup_routes() after calling ic_close_devs(), and
access to the device is still required.
Move the call to ic_close_devs() to the very end of the function.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Makefile')
0 files changed, 0 insertions, 0 deletions