diff options
author | Ivan Vecera <ivecera@redhat.com> | 2019-02-15 13:23:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-18 02:39:08 +0300 |
commit | aaeb1dea514a47e25b4dc05deb54fc4dc538d1d5 (patch) | |
tree | 4b19975ebd45fc02386707667516ea6e3c4a3453 /drivers/net/ethernet/sgi | |
parent | 56425638839cfb038adeba3fb5ff6a4466ec37f9 (diff) | |
download | linux-aaeb1dea514a47e25b4dc05deb54fc4dc538d1d5.tar.xz |
net: sched: sch_api: set an error msg when qdisc_alloc_handle() fails
This patch sets an error message in extack when the number of qdisc
handles exceeds the maximum. Also the error-code ENOSPC is more
appropriate than ENOMEM in this situation.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reported-by: Li Shuang <shuali@redhat.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sgi')
0 files changed, 0 insertions, 0 deletions