Re: [PATCH 04/31] net: add support for ->poll_mask in proto_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 09, 2018 at 05:32:37PM +0100, Christoph Hellwig wrote:
> On Sat, Jan 06, 2018 at 07:16:22PM +0000, Al Viro wrote:
> > > +	__poll_t	(*poll_mask) (struct file *file, struct socket *sock,
> > > +				      __poll_t events);
> > 
> > Does that sucker need struct file?
> 
> It turns out udp needs it:

But as mentioned in my last mail it can simply use sock->file.

Sigh, time for more coffee.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux