summaryrefslogtreecommitdiff
path: root/bpf.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-10-20 14:52:57 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-10-20 14:54:58 +0200
commitabafb7e1679f268fea1f5b0f911cb75fcda44857 (patch)
treeca5fe9572765ba08798343800ebc44129ff2e378 /bpf.c
parente843d29eec50dfcad948859b545eaf529731d28e (diff)
trafgen: fix resource leaks
Fix two resource leaks in trafgen. Fixes Coverity CID 1381807 and CID 1381811. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf.c')
0 files changed, 0 insertions, 0 deletions
sarily, and then the host can throttle the guest because the host thinks the guest is buggy or malicious; finally the user running stress test can perceive intermittent freeze of the guest. This patch brings back the test, and properly handles the in-place consumption APIs used by NetVSC (see get_next_pkt_raw(), put_pkt_raw() and commit_rd_index()). Fixes: a389fcfd2cb5 ("Drivers: hv: vmbus: Fix signaling logic in hv_need_to_signal_on_read()") Signed-off-by: Dexuan Cui <decui@microsoft.com> Reported-by: Rolf Neugebauer <rolf.neugebauer@docker.com> Tested-by: Rolf Neugebauer <rolf.neugebauer@docker.com> Cc: "K. Y. Srinivasan" <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: <stable@vger.kernel.org> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/dcb')