Re: [PATCH] inet: Clean up inet_csk_wait_for_connect() vs. might_sleep()

From: David Miller
Date: Tue Mar 17 2015 - 15:04:57 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Mon, 16 Mar 2015 12:19:24 -0700

> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> I got the following trace with current net-next kernel :
...
> In commit 26cabd31259ba43f68026ce3f62b78094124333f
> Peter added a sched_annotate_sleep() in sk_wait_event()
>
> Is the following patch needed as well ?
>
> Alternative would be to use sk_wait_event() from inet_csk_wait_for_connect()
>
> Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/