Project

General

Profile

Actions

Bug #3107

closed

nfs4_getattr incorrectly checks bit masks

Added by Daniil Lunev about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2012-08-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Erroneous using OR to check bits instead of AND in nfs4_getattr() in usr/src/uts/common/fs/nfs/nfs4_vnops.c

In nfs4_getattr, | is used when checking whether bits are set, rather than &, and in addition we check that every attribute hint is set, when deciding whether to return client values, rather than checking merely that the only appropriate attribute is set.


Related issues

Related to illumos gate - Bug #4822: nfs4 incorrectly checks bit masksNew2014-04-28

Actions
Actions #1

Updated by Daniil Lunev about 9 years ago

  • Status changed from New to Feedback
Actions #2

Updated by Rich Lowe about 9 years ago

  • Subject changed from imperceptible bug of checking of bits to nfs4_getattr incorrectly checks bit masks
Actions #3

Updated by Rich Lowe about 9 years ago

  • Category set to nfs - NFS server and client
  • Status changed from Feedback to Resolved
  • Assignee set to Vitaliy Gusev
  • Tags deleted (needs-triage)

Resolved in r13795 commit:caa31a28c302

Actions

Also available in: Atom PDF