Skip to content

Commit

Permalink
Merge pull request torvalds#196 from liuyuan10/fix
Browse files Browse the repository at this point in the history
lkl: Fix lkl_add_neighbor close
  • Loading branch information
Octavian Purdila authored Aug 8, 2016
2 parents 78d9357 + 2fd1e00 commit 071dc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lkl/lib/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,6 @@ int lkl_add_neighbor(int ifindex, int af, void* ip, void* mac)
err = rtnl_talk(fd, &req2.n);

exit:
close(fd);
lkl_sys_close(fd);
return err;
}

0 comments on commit 071dc80

Please sign in to comment.