aboutsummaryrefslogtreecommitdiff
path: root/net/rxrpc
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-12-20 11:00:23 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-01-12 14:24:53 -0500
commitd15cfc3ac77388f1d588c57743d5f26b15eba9a8 (patch)
tree7e664f2ea89585ff090edb9f265d573db512d874 /net/rxrpc
parent00627f229c9807e4cb825a7ce36b886e2adf2229 (diff)
rt2x00: Fix segementation fault
The queue_end() macro points to 1 position after the queue, which means that if we want to know if queue is at the end of the queue we should first increment the position and then check if it is a valid entry. This fixes a segmentation fault which only occurs when the device has enough endpoints to provide a dedicated endpoint for all TX queues (which likely won't happen for rt2500usb and rt73usb, but will happen for rt2800usb). Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions