]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit21ff01931e47f247bfb235ca36565734daca1de8
tree1977895627f8d387d64bcdc03657fdb0c7afb3e6
parentffbe4a539f69fa3e2f3be74627ca2c830f9d923b
net: stmmac: Fixed the condition of extend_desc for jumbo frame

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>
drivers/net/ethernet/stmicro/stmmac/ring_mode.c