iqiyi / dpvs

DPVS is a high performance Layer-4 load balancer based on DPDK.
Other
3k stars 723 forks source link

conn_flags definition in ip_vs.h is in contradiction with that in conn.h #711

Closed worldpeace365 closed 3 years ago

worldpeace365 commented 3 years ago

conn_flags definition in ip_vs.h is in contradiction with that in conn.h. It will cause the usr.conn_flags was overwrited by conn->flags. see follow: for example, DPVS_CONN_F_IN_TIMER = 0x0200,

define IP_VS_CONN_F_OUT_SEQ 0x0200 / must do output seq adjust /

DPVS_CONN_F_NOFASTXMIT = 0x2000,

define IP_VS_CONN_F_ONE_PACKET 0x2000 / forward only one packet /

======================================= ip_vs.h /*

copy to conn->flags static int dp_vs_conn_bind_dest(struct dp_vs_conn conn, struct dp_vs_dest dest) { /* ATTENTION:

ywc689 commented 3 years ago

fix by pr #714