Ignore status information if the interface number is unknown.
Currently only version 1 is recognized.
Reviewed-on: http://gerrit.openafs.org/7743
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit
8115841e2fc9d827a7207ddc18e5c84e466ed7e7)
Change-Id: Iaa3eb3aae931ee65c991e2786d80a9a62eff76c6
Reviewed-on: http://gerrit.openafs.org/8641
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
}
#endif /* AFS_FREELANCE_CLIENT */
+ if (statusp->InterfaceVersion != 0x1) {
+ osi_Log2(afsd_logp, "Merge, Failure scp 0x%p Invalid InterfaceVersion %u",
+ scp, statusp->InterfaceVersion);
+ return;
+ }
+
if (statusp->errorCode != 0) {
_InterlockedOr(&scp->flags, CM_SCACHEFLAG_EACCESS);
osi_Log2(afsd_logp, "Merge, Failure scp 0x%p code 0x%x", scp, statusp->errorCode);