diff options
author | Wei Liu <wei.liu2@citrix.com> | 2014-08-12 11:59:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-13 20:06:43 -0700 |
commit | 5c807005fa60deef2db6616d9b7b24fc4c436be9 (patch) | |
tree | 6e1ca61dc320ede63d38b91def87edeaae31a30c /drivers/dca | |
parent | 490cc7d03c21871eef5949ba77a18b0c7ef70ef5 (diff) | |
download | linux-stable-5c807005fa60deef2db6616d9b7b24fc4c436be9.tar.gz linux-stable-5c807005fa60deef2db6616d9b7b24fc4c436be9.tar.bz2 linux-stable-5c807005fa60deef2db6616d9b7b24fc4c436be9.zip |
xen-netback: fix debugfs write length check
Enlarge buffer size and check input length properly, so that we don't
misuse -ENOSPC.
Note that command like "kickXXXX" is still allowed, that's one patch for
another day if we really want to be very strict on this.
Reported-by: SeeChen Ng <seechen81@gmail.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Zoltan Kiss <zoltan.kiss@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions