Re: [PATCH net 1/3] udp: check for encap using encap_enable
From: Paolo Abeni <pabeni@redhat.com>
Date: 2021-07-12 14:33:55
On Mon, 2021-07-12 at 15:13 +0100, Vadim Fedorenko wrote:
On 12.07.2021 15:05, Paolo Abeni wrote:quoted
On Mon, 2021-07-12 at 13:32 +0100, Vadim Fedorenko wrote:quoted
On 12.07.2021 09:37, Paolo Abeni wrote:quoted
quoted
Fixes: 60fb9567bf30 ("udp: implement complete book-keeping for encap_needed")IMHO this not fix. Which bug are you observing that is addressed here?I thought that introduction of encap_enabled should go further to switch the code to check this particular flag and leave encap_type as a description of specific type (or subtype) of used encapsulation.Than to me it looks more like a refactor than a fix. Is this strictly needed by the following patch? if not, I suggest to consider net-next as a target for this patch, or even better, drop it altogether.Looks like it isn't strictly needed for the following patch. Do you think that such refactor would lead to more harm than benefits provided by clearness of usage of encap_enable and encap_type fields?
Yes. That patch is invasive and the clarification is quite subjective IMHO. Cheers, Paolo