Geliang Tang wrote:
From: Geliang Tang tanggeliang@kylinos.cn
The values of tx_prog_fd in run_options() should not be 0, so set it as -1 in else branch, and test it using "if (tx_prog_fd > 0)" condition, not "if (tx_prog_fd)" or "if (tx_prog_fd >= 0)".
Signed-off-by: Geliang Tang tanggeliang@kylinos.cn
Acked-by: John Fastabend john.fastabend@gmail.com