diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-02-01 09:32:25 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-05-31 00:44:03 +0100 |
commit | 077ae2b73b4c110e9d458b071a61c9f2b33ee58e (patch) | |
tree | c9ee85318270d34886aad7993b39d972dc77ecf2 /fs/buffer.c | |
parent | d655fe1e7e79ee5012d83bf66a9e524aa55ec7de (diff) | |
download | linux-rt-077ae2b73b4c110e9d458b071a61c9f2b33ee58e.tar.gz |
ethtool: Null-terminate filename passed to ethtool_ops::flash_device
commit 786f528119722f564a22ad953411374e06116333 upstream.
The parameters for ETHTOOL_FLASHDEV include a filename, which ought to
be null-terminated. Currently the only driver that implements
ethtool_ops::flash_device attempts to add a null terminator if
necessary, but does it wrongly. Do it in the ethtool core instead.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions