summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-05-21 02:16:05 +0200
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-06-11 12:30:21 +0200
commitc56affafdd29eb9764b0e35e3434cc06f6bc3781 (patch)
treeb79de2da47cba80882ae85cf7f271cc7f574a27e /drivers/xen
parentwimax/i2400m: rename misleading I2400M_PL_PAD to I2400M_PL_ALIGN (diff)
downloadlinux-c56affafdd29eb9764b0e35e3434cc06f6bc3781.tar.xz
linux-c56affafdd29eb9764b0e35e3434cc06f6bc3781.zip
wimax/i2400m: fix panic/warnings caused by missed check on empty TX message
In some situations, when a new TX message header is started, there might be no space for data payloads. In this case the message is left with zero payloads and the i2400m_tx_close() function has just to mark it as "to skip". If it tries to go ahead it will overwrite things because there is no space to add padding as defined by the bus-specific layer. This can cause buffer overruns and in some stress cases, panics. Found and diagnosed by Cindy H. Kao. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions