]> git.baikalelectronics.ru Git - kernel.git/commit
wimax/i2400m: fix oops when the TX FIFO fills up due to a missing check
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Wed, 27 May 2009 08:04:40 +0000 (01:04 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 11 Jun 2009 10:30:22 +0000 (03:30 -0700)
commitc7f710940041747c5ef57206156dab13791abef8
tree4fda5f5feaa11a8d311661cd0630d06ad29c8aa7
parent25866c65ea81c30f147eb0c04a2b7c6967fd0e40
wimax/i2400m: fix oops when the TX FIFO fills up due to a missing check

When the TX FIFO filled up and i2400m_tx_new() failed to allocate a
new TX message header, a missing check for said condition was causing a
kernel oops when trying to dereference a NULL i2400m->tx_msg pointer.

Found and diagnosed by Cindy H. Kao.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/tx.c