Skip to content
Commit aaeb1dea authored by Ivan Vecera's avatar Ivan Vecera Committed by David S. Miller
Browse files

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: default avatarIvan Vecera <ivecera@redhat.com>
Reported-by: default avatarLi Shuang <shuali@redhat.com>
Reviewed-by: default avatarStefano Brivio <sbrivio@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 56425638
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment