]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
smc: convert to ->poll_mask
authorCong Wang <xiyou.wangcong@gmail.com>
Mon, 11 Jun 2018 21:07:14 +0000 (14:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jun 2018 22:37:09 +0000 (15:37 -0700)
commitc0129a0614428e5e4350fa963eecd1fbe19e57e9
treeaf77d1ecf1f28b7637c3bfda799a94a300927a1a
parent760a6ed6b6f29c48f97ff5a94ba0dbc639a2e677
smc: convert to ->poll_mask

smc->clcsock is an internal TCP socket, after TCP socket
converts to ->poll_mask, ->poll doesn't exist any more.
So just convert smc socket to ->poll_mask too.

Fixes: 2c7d3dacebd4 ("net/tcp: convert to ->poll_mask")
Reported-by: syzbot+f5066e369b2d5fff630f@syzkaller.appspotmail.com
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c