lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100826.213419.189712657.davem@davemloft.net>
Date:	Thu, 26 Aug 2010 21:34:19 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	greearb@...delatech.com
Cc:	netdev@...r.kernel.org
Subject: Re: [net-next 1/2] qdisc: Allow qdiscs to provide backpressure up
 the stack.

From: Ben Greear <greearb@...delatech.com>
Date: Thu, 26 Aug 2010 21:14:39 -0700

> I'll look into the NET_XMIT_CN, but if that propagates backpressure up
> through mac-vlan, then something must know how to re-start the tx
> logic.

It doesn't need to, as it drops and frees up the packet.

> One thing that really bothers me about the current qdisc stuff is that
> it just frees the packet when it cannot accept it.

Without the drop, things like RED simply would not work.

> This *should* allow us to better throttle UDP sockets without
> dropping as many packets on the sending side, and would probably
> help TCP as well.

UDP is well throttled by the socket send buffer.

The only problematic case is pktgen and it's an abberation and
an obscure case.  It's in fact trying to bypass all of the
queueing and accounting the stack normally makes use of.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ