summaryrefslogtreecommitdiff
path: root/drivers/net/gtp.c
diff options
context:
space:
mode:
authorRick Farrington <ricardo.farrington@cavium.com>2018-08-28 11:32:55 -0700
committerDavid S. Miller <davem@davemloft.net>2018-08-29 19:47:52 -0700
commitb943f17e06493fd2c7fd00743093ad5dcdb90e7f (patch)
treec11e87c4f0720b3b86a99c01a19b24b58f162606 /drivers/net/gtp.c
parent9ecc660ea1a7a5cebf403fb74ad363400d645463 (diff)
liquidio: fix race condition in instruction completion processing
In lio_enable_irq, the pkt_in_done count register was being cleared to zero. However, there could be some completed instructions which were not yet processed due to budget and limit constraints. So, only write this register with the number of actual completions that were processed. Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gtp.c')
0 files changed, 0 insertions, 0 deletions