Re: tcp_write_space

From: Alexey Kuznetsov (kuznet@ms2.inr.ac.ru)
Date: Mon Jul 23 2001 - 17:53:10 EST


Hello!

> Why isn't the sk->callback_lock aquired in the tcp_write_space
> callback ??
>
> Is this intentional ?

Yes, this lock is not required in this case because tcp_write_space()
is called only from under socket lock, which is stronger than callback_lock.
This is true _only_ for TCP sockets.

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



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:17 EST