From: Rainer Weikusat
Date: Thu, 11 Feb 2016 19:37:27 +
> The unix_dgram_sendmsg routine use the following test
>
> if (unlikely(unix_peer(other) != sk && unix_recvq_full(other))) {
>
> to determine if sk and other are in an n:1 association (either
> established via connect or by using send
Ben Hutchings writes:
> On Fri, 2016-02-12 at 20:17 +, Rainer Weikusat wrote:
[...]
I don't think this should apply when
receiving and sending sockets are identical. But that's just my
opinion. The other option would be to avoid the unix_state_double_lock
for sk == other.
On Fri, 2016-02-12 at 20:17 +, Rainer Weikusat wrote:
> Ben Hutchings writes:
> > On Fri, 2016-02-12 at 13:25 +, Rainer Weikusat wrote:
> > > Philipp Hahn writes:
> > > > Hello Rainer,
> > > >
> > > > Am 11.02.2016 um 20:37 schrieb Rainer Weikusat:
> > > > > The unix_dgram_sendmsg routin
Ben Hutchings writes:
> On Fri, 2016-02-12 at 13:25 +, Rainer Weikusat wrote:
>> Philipp Hahn writes:
>> > Hello Rainer,
>> >
>> > Am 11.02.2016 um 20:37 schrieb Rainer Weikusat:
>> > > The unix_dgram_sendmsg routine use the following test
>> > >
>> > > if (unlikely(unix_peer(other) != sk &
On Fri, 2016-02-12 at 13:25 +, Rainer Weikusat wrote:
> Philipp Hahn writes:
>
> > Hello Rainer,
> >
> > Am 11.02.2016 um 20:37 schrieb Rainer Weikusat:
> > > The unix_dgram_sendmsg routine use the following test
> > >
> > > if (unlikely(unix_peer(other) != sk && unix_recvq_full(other))) {
Philipp Hahn writes:
> Hello Rainer,
>
> Am 11.02.2016 um 20:37 schrieb Rainer Weikusat:
>> The unix_dgram_sendmsg routine use the following test
>>
>> if (unlikely(unix_peer(other) != sk && unix_recvq_full(other))) {
[...]
>> This isn't correct as the> specified address could have been bound
Hello Rainer,
Am 11.02.2016 um 20:37 schrieb Rainer Weikusat:
> The unix_dgram_sendmsg routine use the following test
>
> if (unlikely(unix_peer(other) != sk && unix_recvq_full(other))) {
>
> to determine if sk and other are in an n:1 association (either
> established via connect or by using sen
The unix_dgram_sendmsg routine use the following test
if (unlikely(unix_peer(other) != sk && unix_recvq_full(other))) {
to determine if sk and other are in an n:1 association (either
established via connect or by using sendto to send messages to an
unrelated socket identified by address). This is
8 matches
Mail list logo