Re: [PATCH net] net: sctp: wake up all assocs if sndbuf policy is per socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/08/2014 12:50 PM, David Miller wrote:
> From: Daniel Borkmann <dborkman@xxxxxxxxxx>
> Date: Tue,  8 Apr 2014 15:33:57 +0200
> 
>>  [ When net-next opens up again, we need to think how
>>    we can ideally make a new list interface and simplify
>>    both open-coded list traversals. ]
> 
> I don't think you need a new list interface.
> 
> Instead, just have a back pointer to the sctp_sk() from the asoc, then
> you can do normal list traversals over the asocs.

We already have that, but doing so will give preference to first
association and possibly starving the last one.

This starvation avoidance is the whole point of having a per-association
accounting.

-vlad

--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux