We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2babb94 commit 744fb08Copy full SHA for 744fb08
tempesta_fw/classifier/frang.c
@@ -630,13 +630,17 @@ st: __attribute__((unused)) \
630
631
#define __FRANG_FSM_JUMP(to) goto to;
632
#define __FRANG_FSM_MOVE(to) \
633
+do { \
634
if (r) \
635
__FRANG_FSM_EXIT(); \
- goto to;
636
+ goto to; \
637
+} while (0)
638
639
#define __FRANG_FSM_JUMP_EXIT(to) \
640
641
__fsm_const_state = to; /* optimized out to constant */ \
- __FRANG_FSM_EXIT()
642
+ __FRANG_FSM_EXIT(); \
643
644
645
static int
646
frang_http_req_process(FrangAcc *ra, TfwConnection *conn, struct sk_buff *skb,
0 commit comments