commit | 18e35e081e1bb129c6dc5a5874c260a613cd13d7 | [log] [tgz] |
---|---|---|
author | Malcolm Priestley <tvboxspy@gmail.com> | Sun Sep 22 20:15:58 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 25 16:53:39 2013 -0700 |
tree | f6011b972d4dd37852687223263b2b2f8e8c654d | |
parent | c3aed2312fd3c74e77e049b795e092689d414474 [diff] |
staging: vt6656: rxtx.c [BUG] s_vGetFreeContext dead lock on null apTD. There seems to be race condition that the device is ndo_start_xmit at a point where the device is closing and apTD is NULL resulting in dead lock. Add a NULL check to apTD and return NULL to calling functions. This is more likely on 64 bit systems. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>