the previous patch can not handle the revent is POLLHUP or POLLERR, poll_setup needs to be executed only when the POLLIN or POLLOUT event changes. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
the previous patch can not handle the revent is POLLHUP or POLLERR, poll_setup needs to be executed only when the POLLIN or POLLOUT event changes. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>