Re: [PATCH net-next] net: tap: fix POLLOUT condition in tap_poll()
From: yuan linyuDate: Thu, 14 Dec 2017 22:22:16 +0800 > From: yuan linyu > > from logical view, if sock_writeable(>sk) return false, > original second condition will return false too, > change it and make second condition can return true. > >
[PATCH net-next] net: tap: fix POLLOUT condition in tap_poll()
From: yuan linyufrom logical view, if sock_writeable(>sk) return false, original second condition will return false too, change it and make second condition can return true. Signed-off-by: yuan linyu --- drivers/net/tap.c | 3