commit | 087dec7fcfb18fc4e8a0ec68c9c0a84cb9f03e69 | [log] [tgz] |
---|---|---|
author | Davide Caratti <dcaratti@redhat.com> | Fri Sep 16 10:30:00 2016 +0200 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Tue Sep 20 09:44:59 2016 -0700 |
tree | 794d215b61a262b5076d1cd9629a0701351e6be6 | |
parent | 003f0fde6959b0f759fd1cc27201eb367753443e [diff] |
tc: don't accept qdisc 'handle' greater than ffff since get_qdisc_handle() truncates the input value to 16 bit, return an error and prompt "invalid qdisc ID" in case input 'handle' parameter needs more than 16 bit to be stored. Signed-off-by: Davide Caratti <dcaratti@redhat.com> Acked-by: Phil Sutter <phil@nwl.cc>