summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-02-01 10:32:25 +0100
committerDavid S. Miller <davem@davemloft.net>2012-02-01 20:47:17 +0100
commit786f528119722f564a22ad953411374e06116333 (patch)
tree122ca6128b967fc4e91ff9a974181536a55f64ed /net/ipv4
parentnet: Disambiguate kernel message (diff)
downloadlinux-786f528119722f564a22ad953411374e06116333.tar.xz
linux-786f528119722f564a22ad953411374e06116333.zip
ethtool: Null-terminate filename passed to ethtool_ops::flash_device
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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions