diff options
author | Thomas Graf <tgraf@redhat.com> | 2011-12-22 02:05:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-22 22:34:56 -0500 |
commit | 7838f2ce36b6ab5c13ef20b1857e3bbd567f1759 (patch) | |
tree | 4a84e53445817547adb299b25c54e613f76a8980 /net/bridge | |
parent | a13861a28b90541aa207532d237e7a940f1b1c7b (diff) | |
download | linux-3.10-7838f2ce36b6ab5c13ef20b1857e3bbd567f1759.tar.gz linux-3.10-7838f2ce36b6ab5c13ef20b1857e3bbd567f1759.tar.bz2 linux-3.10-7838f2ce36b6ab5c13ef20b1857e3bbd567f1759.zip |
mqprio: Avoid panic if no options are provided
Userspace may not provide TCA_OPTIONS, in fact tc currently does
so not do so if no arguments are specified on the command line.
Return EINVAL instead of panicing.
Signed-off-by: Thomas Graf <tgraf@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions