aboutgitcodebugslistschat
path: root/udp.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-11-30 15:13:05 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-12-06 07:41:28 +0100
commit85172392435613c8b5145c1fb36ce6e134851c7d (patch)
tree5247ee246baf4e86a1a95995e2f34eb782212926 /udp.h
parent1cd684b09b19e28e5832482a438f04254a757c1d (diff)
downloadpasst-85172392435613c8b5145c1fb36ce6e134851c7d.tar
passt-85172392435613c8b5145c1fb36ce6e134851c7d.tar.gz
passt-85172392435613c8b5145c1fb36ce6e134851c7d.tar.bz2
passt-85172392435613c8b5145c1fb36ce6e134851c7d.tar.lz
passt-85172392435613c8b5145c1fb36ce6e134851c7d.tar.xz
passt-85172392435613c8b5145c1fb36ce6e134851c7d.tar.zst
passt-85172392435613c8b5145c1fb36ce6e134851c7d.zip
udp: Remove the @bound field from union udp_epoll_ref
We set this field, but nothing ever checked it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.h')
-rw-r--r--udp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/udp.h b/udp.h
index 2ac8610..43bd28a 100644
--- a/udp.h
+++ b/udp.h
@@ -29,8 +29,7 @@ void udp_update_l2_buf(const unsigned char *eth_d, const unsigned char *eth_s,
*/
union udp_epoll_ref {
struct {
- uint32_t bound:1,
- splice:3,
+ uint32_t splice:3,
#define UDP_TO_NS 1
#define UDP_TO_INIT 2
#define UDP_BACK_TO_NS 3