tipc: avoid double lock 'spin_lock:&seq->lock'
authorYing Xue <ying.xue@windriver.com>
Tue, 9 Dec 2014 07:17:56 +0000 (15:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 23:27:03 +0000 (18:27 -0500)
commit023160bc8f100ad949ebaee0d3a1b7398d938171
tree23c6403901add558eb44802cd9e019434f9dbe39
parentfb3b596d3c4a8b6e3867079794856637db4e5283
tipc: avoid double lock 'spin_lock:&seq->lock'

The commit fb9962f3cefe ("tipc: ensure all name sequences are properly
protected with its lock") involves below errors:

net/tipc/name_table.c:980 tipc_purge_publications() error: double lock 'spin_lock:&seq->lock'

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_table.c