Re: [PATCH net-next] net: tap: fix POLLOUT condition in tap_poll()

2017-12-16 Thread David Miller
From: yuan linyu Date: 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()

2017-12-14 Thread yuan linyu
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. Signed-off-by: yuan linyu --- drivers/net/tap.c | 3