Skip to content

Commit

Permalink
respect packet mark when requeueing packet
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-iniguez-goya committed Jul 23, 2023
1 parent 8b4c892 commit cb4d82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/netfilter/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (p *Packet) SetRequeueVerdict(newQueueID uint16) {
v := uint(NF_QUEUE)
q := (uint(newQueueID) << 16)
v = v | q
p.verdictChannel <- VerdictContainer{Verdict: Verdict(v), Packet: nil, Mark: 0}
p.verdictChannel <- VerdictContainer{Verdict: Verdict(v), Packet: nil, Mark: p.Mark}
}

// SetVerdictWithPacket apply a verdict, but with a new packet
Expand Down

0 comments on commit cb4d82f

Please sign in to comment.