We sleep and drop the lock during these loops, so we need to retest
this each time we wake back up.
> Actually I'd really appreciate it if someone could explain the order of
> tests for sk->done, sk->err, sk->shutdown and sk->state...
Most of the error test ordering is specified by POSIX somewhere.
Alan would know better.
Later,
David S. Miller
davem@redhat.com
-
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/