linux/drivers/net/ethernet/hisilicon
Jun He 3a31b64e3e net: hns: fix bug that alloc skb fail lead to port unavailable
When hns_nic_poll_rx_skb alloc skb fail, it will break receive cycle and
read new fbd_num to start new receive cycle. It recomputes cycle num is
fbd_num minus clean_count, actually this cycle num is too big because
it drop out receive cycle. It brings about the port unavailable.

So we will goto out when alloc skb fail to fix this bug.

Signed-off-by: Jun He <hjat2005@huawei.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-21 04:51:55 -04:00
..
hns net: hns: fix bug that alloc skb fail lead to port unavailable 2016-06-21 04:51:55 -04:00
hip04_eth.c hip04_eth: fix missing error handle for build_skb failed 2016-01-13 15:48:14 -05:00
hix5hd2_gmac.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
hns_mdio.c net: hisilicon: add support of acpi for hns-mdio 2016-06-04 21:32:40 -04:00
Kconfig net: hns: update the dependency 2016-06-14 23:28:42 -07:00
Makefile net: add Hisilicon Network Subsystem hnae framework support 2015-09-20 21:42:57 -07:00