diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2018-08-31 13:40:01 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-09-01 01:38:16 +0200 |
commit | cf484f9f91f702e61eb47f7b142de6edc33a4a88 (patch) | |
tree | 1a8dd159d683a9d116ff600bdb2c7989438f77c6 /include/net/xdp_sock.h | |
parent | bpf: add selftest for bpf's (set|get)_sockopt for SAVE_SYN (diff) | |
download | linux-cf484f9f91f702e61eb47f7b142de6edc33a4a88.tar.xz linux-cf484f9f91f702e61eb47f7b142de6edc33a4a88.zip |
i40e: fix possible compiler warning in xsk TX path
With certain gcc versions, it was possible to get the warning
"'tx_desc' may be used uninitialized in this function" for the
i40e_xmit_zc. This was not possible, however this commit simplifies
the code path so that this warning is no longer emitted.
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/net/xdp_sock.h')
0 files changed, 0 insertions, 0 deletions