Skip to content
Commit e88958e6 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds
Browse files

net: handle NULL ->poll gracefully



The big aio poll revert broke various network protocols that don't
implement ->poll as a patch in the aio poll serie removed sock_no_poll
and made the common code handle this case.

Reported-by: default avatar <syzbot+57727883dbad76db2ef0@syzkaller.appspotmail.com>
Reported-by: default avatar <syzbot+cdb0d3176b53d35ad454@syzkaller.appspotmail.com>
Reported-by: default avatar <syzbot+2c7e8f74f8b2571c87e8@syzkaller.appspotmail.com>
Reported-by: default avatarTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Fixes: a11e1d43

 ("Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL")
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 90368a37
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment