Re: relax KASSET() to if () in pfsync_grab_snapshot()

2022-11-11 Thread David Gwynne
ok > On 11 Nov 2022, at 7:31 pm, Alexandr Nedvedicky wrote: > > Hello, > > Diff below changes KASSERT() to if (). We have to prevent > packets to insert state to snapshot queue multiple times. > Hrvoje@ can trigger situation where state updates to pfsync > peer are more frequent than we are

relax KASSET() to if () in pfsync_grab_snapshot()

2022-11-11 Thread Alexandr Nedvedicky
Hello, Diff below changes KASSERT() to if (). We have to prevent packets to insert state to snapshot queue multiple times. Hrvoje@ can trigger situation where state updates to pfsync peer are more frequent than we are able to send out. OK to go for this simple fix/workaround ? thanks and