[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131210.213943.2076281583129546141.davem@davemloft.net>
Date: Tue, 10 Dec 2013 21:39:43 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: yangyingliang@...wei.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net_sched: add messages to distinguish errors
when modify qdisc
From: Yang Yingliang <yangyingliang@...wei.com>
Date: Wed, 11 Dec 2013 10:37:01 +0800
> Then how about change the errno, is that ok ?
No, it will break existing code.
This is really an old topic which has been discussed before.
The problem is that signalling a single integer for errors is
not sufficient enough to transmit the necessary information
to the user.
You have to therefore think more largely about this problem than
trying to fix it easily with some error code adjustments. The
problem is fundamentally that we only return error codes to
userspace, rather than something more sophisticated.
--
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