summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_cfg.h
diff options
context:
space:
mode:
authorPeter Staubach2007-05-09 11:34:48 +0200
committerLinus Torvalds2007-05-09 21:30:54 +0200
commitf34b95689d2ce001c157b1604289ff240b4bdee0 (patch)
treee249e166e3c66656ad1b5ac895da6e4c207830e1 /net/mac80211/ieee80211_cfg.h
parentremove nfs4_acl_add_ace() (diff)
downloadkernel-qcow2-linux-f34b95689d2ce001c157b1604289ff240b4bdee0.tar.gz
kernel-qcow2-linux-f34b95689d2ce001c157b1604289ff240b4bdee0.tar.xz
kernel-qcow2-linux-f34b95689d2ce001c157b1604289ff240b4bdee0.zip
The NFSv2/NFSv3 server does not handle zero length WRITE requests correctly
The NFSv2 and NFSv3 servers do not handle WRITE requests for 0 bytes correctly. The specifications indicate that the server should accept the request, but it should mostly turn into a no-op. Currently, the server will return an XDR decode error, which it should not. Attached is a patch which addresses this issue. It also adds some boundary checking to ensure that the request contains as much data as was requested to be written. It also correctly handles an NFSv3 request which requests to write more data than the server has stated that it is prepared to handle. Previously, there was some support which looked like it should work, but wasn't quite right. Signed-off-by: Peter Staubach <staubach@redhat.com> Acked-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/mac80211/ieee80211_cfg.h')
0 files changed, 0 insertions, 0 deletions