cifs: match secType when searching for existing tcp session
authorJeff Layton <jlayton@redhat.com>
Wed, 7 Jul 2010 00:43:02 +0000 (20:43 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:35 +0000 (12:40 +0000)
commitdaf5b0b6f3f6d7b15c2600426cc6c60a0e155218
tree9c6210671c489d493f02dd7ca1eb6799c21fd195
parent4515148ef72bfda4ce3c8754149711d9972867ce
cifs: match secType when searching for existing tcp session

The secType is a per-tcp session entity, but the current routine doesn't
verify that it is acceptible when attempting to match an existing TCP
session.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c