diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-08-08 21:42:15 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-08-08 21:56:21 +0200 |
commit | 000182fe4f94a5a6ec139456a2b74f0cdea13b9c (patch) | |
tree | 395235b3c1a2c6ea8cbc1d82ba88a869bbe03561 /COPYING | |
parent | f6c2242c7af2de8f40f5b6b8e50c350a138bc183 (diff) |
router: fix lingering uloop socket descriptor
In case setting one of the socket options fails; make sure the raw
socket is removed from the uloop file descriptor list before the
socket is closed.
In case this is not done and a new raw socket is created with the
same fd value odhcpd will not be triggered by uloop in case RS messages
are received on the socket as reported in https://github.com/openwrt/odhcpd/issues/135
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions