Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213401
b: refs/heads/master
c: ab9db8b
h: refs/heads/master
i:
  213399: af0f573
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Sep 29, 2010
1 parent 7e72740 commit c9eebd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5fe97cfddc426f3145e8673b68faab7e54462173
refs/heads/master: ab9db8b737210bec365593a04dd1c534220bb311
9 changes: 0 additions & 9 deletions trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1511,15 +1511,6 @@ cifs_find_tcp_session(struct sockaddr *addr, struct smb_vol *vol)

write_lock(&cifs_tcp_ses_lock);
list_for_each_entry(server, &cifs_tcp_ses_list, tcp_ses_list) {
/*
* the demux thread can exit on its own while still in CifsNew
* so don't accept any sockets in that state. Since the
* tcpStatus never changes back to CifsNew it's safe to check
* for this without a lock.
*/
if (server->tcpStatus == CifsNew)
continue;

if (!match_address(server, addr,
(struct sockaddr *)&vol->srcaddr))
continue;
Expand Down

0 comments on commit c9eebd1

Please sign in to comment.