[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120503.053145.2055460005248115423.davem@davemloft.net>
Date: Thu, 03 May 2012 05:31:45 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xemul@...allels.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH 4/6] tcp: Repair socket queues
From: Pavel Emelyanov <xemul@...allels.com>
Date: Thu, 03 May 2012 12:59:16 +0400
> Well, yes, but this ability is given to CAP_SYS_NET_ADMIN users only.
> Do you think it's nonetheless worth accounting this allocation into
> the socket's rmem?
Often such too large lengths can be a bug in the application, so best
to catch it than let it silently succeed.
Also, restricting an operation to "privileged" entities does not mean
we should forego resource utilization checks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists