[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100112.121607.39835310.davem@davemloft.net>
Date: Tue, 12 Jan 2010 12:16:07 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: torsten.schmidt@...06.tu-chemnitz.de
Cc: netdev@...r.kernel.org, philipp_subx@...fish-solutions.com
Subject: Re: [PATCH] ipv4: add DiffServ priority based routing
You can't do any of these things you are doing, I've basically been
ignoring all of these crazy diffserv patches, they're nuts!
The TOS socket option has a meaning and behavior defined by the BSD
sockets interface many years ago. And you cannot and must not change
the behavior of those system calls because applications are written to
the current behavior and you will break them. Protecting the new
behavior with a kernel config option is a non-starter, it's pointless
because no distribution is going to enable a kernel option that
knowingly breaks applications.
And it is also possible to set the TOS field however you desire using
what the kernel currently provides, we do not preclude proper diffserv
support, the BSD socket interfaces allow that just fine.
And you can also do diffserv by classifying traffic and setting the
TOS field using either the packet scheduler, or even netfilter.
Linux supports diffserv fully and just fine, you just can't see it :-)
Please stop submitting these patches without first having at least a
real discussion and understanding of how this stuff works.
Thanks.
--
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