Re: [Devel] [PATCH RFC rh7] vznetstat: Move the code to drop redundant skb marks to *_xmit() functions #PSBM-122082

2020-11-17 Thread Vasily Averin
See comments below On 11/16/20 10:40 PM, Konstantin Khorenko wrote: > We have added code to clear vz specific skb marks, but it's done in the > hook NF_INET_LOCAL_IN (which is not the very first one) and if someone > sets a mark with xt_mark in PREROUTING chain, the mark will be set in > NF_INET_PR

Re: [Devel] [PATCH RFC rh7] vznetstat: Move the code to drop redundant skb marks to *_xmit() functions #PSBM-122082

2020-11-17 Thread Konstantin Khorenko
On 11/17/2020 08:55 AM, Vasily Averin wrote: See comments below On 11/16/20 10:40 PM, Konstantin Khorenko wrote: We have added code to clear vz specific skb marks, but it's done in the hook NF_INET_LOCAL_IN (which is not the very first one) and if someone sets a mark with xt_mark in PREROUTING c

[Devel] [PATCH RH8] loop: fix no-unmap write-zeroes request behavior

2020-11-17 Thread Kirill Tkhai
From: Darrick J. Wong ms commit efcfec579f61 Currently, if the loop device receives a WRITE_ZEROES request, it asks the underlying filesystem to punch out the range. This behavior is correct if unmapping is allowed. However, a NOUNMAP request means that the caller doesn't want us to free the s

Re: [Devel] [PATCH RFC rh7] vznetstat: Move the code to drop redundant skb marks to *_xmit() functions #PSBM-122082

2020-11-17 Thread Konstantin Khorenko
On 11/17/2020 01:07 PM, Konstantin Khorenko wrote: On 11/17/2020 08:55 AM, Vasily Averin wrote: See comments below On 11/16/20 10:40 PM, Konstantin Khorenko wrote: We have added code to clear vz specific skb marks, but it's done in the hook NF_INET_LOCAL_IN (which is not the very first one) and

[Devel] [PATCH RFC v2 rh7] vznetstat: Move the code to drop redundant skb marks to *_xmit() functions #PSBM-122082

2020-11-17 Thread Konstantin Khorenko
We have added code to clear vz specific skb marks, but it's done in the hook NF_INET_LOCAL_IN (which is not the very first one) and if someone sets a mark with xt_mark in PREROUTING chain, the mark will be set in NF_INET_PRE_ROUTING hook (which is prior to NF_INET_LOCAL_IN) and dropped by our hook