summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath.c
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-12-23 02:04:35 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-12-23 02:04:35 +0000
commitff91c62e28b4c2511e0f2f19fe3c6b726f6b1600 (patch)
tree90ba236bbdce9384c87be9059a206076d45a7353 /sys/dev/ath/if_ath.c
parent077423507056d0dc87787828a5c7ef69ab8d13dc (diff)
downloadFreeBSD-src-ff91c62e28b4c2511e0f2f19fe3c6b726f6b1600.zip
FreeBSD-src-ff91c62e28b4c2511e0f2f19fe3c6b726f6b1600.tar.gz
During investigation of an NFSv4 client crash reported by glebius@,
jhb@ spotted that nfscl_getstateid() might modify credentials when called from nfsrpc_read() for the case where p != NULL, whereas nfsrpc_read() only did a crdup() to get new credentials for p == NULL. This bug was introduced by r195510, since pre-r195510 nfscl_getstateid() only modified credentials for the p == NULL case. This patch modifies nfsrpc_read()/nfsrpc_write() so that they do crdup() for the p != NULL case. It is conceivable that this bug caused the crash reported by glebius@, but that will not be determined for some time, since the crash occurred after about 1month of operation. Tested by: glebius Reviewed by: jhb MFC after: 2 weeks
Diffstat (limited to 'sys/dev/ath/if_ath.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud