openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
160 stars 96 forks source link

fix lingering uloop socket descriptor in close socket upon NETEV_IFINDEX_CHANGE code path #139

Closed aertsk closed 4 years ago

aertsk commented 4 years ago

make sure the raw socket is removed from the uloop file descriptor list before the socket is closed. As introduced in https://github.com/openwrt/odhcpd/commit/000182fe4f94a5a6ec139456a2b74f0cdea13b9c

Related to  https://github.com/openwrt/odhcpd/issues/135
aertsk commented 4 years ago

Closing pull Request as this is not the proper way to do it.