net: stmmac: Fixed the condition of extend_desc for jumbo frame
authorByungho An <bh74.an@samsung.com>
Thu, 8 Aug 2013 06:30:26 +0000 (15:30 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2013 20:44:31 +0000 (13:44 -0700)
This patch fixed the condition of extend_desc for jumbo frame.
There is no check routine for extend_desc in the stmmac_jumbo_frm function.
Even though extend_desc is set if dma_tx is used instead of dma_etx.
It causes kernel panic.

Signed-off-by: Byungho An <bh74.an@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found