rrunner: fix buffer overflow
authorDan Carpenter <error27@gmail.com>
Sat, 2 Jan 2010 04:08:46 +0000 (04:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jan 2010 06:06:15 +0000 (22:06 -0800)
commit2585e7e5e1fcf64fd2b2cac0bc1f1b609eabe96a
tree7727b3e12099ae4570068b983f671c9683bf0656
parent7ec4e7d3cfee9d7846dbd02ad442c40cb58512e8
rrunner: fix buffer overflow

tx_skbuff is define as:
        struct sk_buff          *tx_skbuff[TX_RING_ENTRIES];

EVT_RING_ENTRIES is 64 and TX_RING_ENTRIES is 32.

This function is in a error path so that's why it wasn't noticed.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/rrunner.c