[RFC PATCH net] net: Work around lockdep limitation in sockets that use sockets
David Miller
davem at davemloft.net
Thu Mar 9 09:38:51 PST 2017
From: David Howells <dhowells at redhat.com>
Date: Thu, 09 Mar 2017 07:51:34 +0000
> David Miller <davem at davemloft.net> wrote:
>
>> I guess this is fine, but I think you can use one of the two "sk_padding"
>> bits in struct sock instead of making the structure larger.
>
> It shouldn't make the structure larger since there's a hole in the structure:
...
> u16 sk_gso_max_segs;
> ---> 2-byte hole here
> unsigned long sk_lingertime;
>
> but I'll quite happily shift it to sk_padding.
Ok, then that's fine.
More information about the linux-afs
mailing list