Re: netlink: GPF in sock_sndtimeo

From: Cong Wang
Date: Tue Nov 29 2016 - 18:14:22 EST


On Tue, Nov 29, 2016 at 8:48 AM, Richard Guy Briggs <rgb@xxxxxxxxxx> wrote:
> On 2016-11-26 17:11, Cong Wang wrote:
>> It is racy on audit_sock, especially on the netns exit path.
>
> I think that is the only place it is racy. The other places audit_sock
> is set is when the socket failure has just triggered a reset.
>
> Is there a notifier callback for failed or reaped sockets?

Is NETLINK_URELEASE event what you are looking for?