summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorJun He <hjat2005@huawei.com>2016-06-21 03:56:36 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-06-21 08:51:55 (GMT)
commit3a31b64e3e4f37452709d73f2c0b5c433faad3f3 (patch)
treeef6e5b39132d0bb56d7d49246cdb6fa7ce65bbaa /Kconfig
parentd8a8371e8ba24e49d8e42d691a0c47e9cfc42cdd (diff)
downloadlinux-3a31b64e3e4f37452709d73f2c0b5c433faad3f3.tar.xz
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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions