On 2021-04-08 3:50 a.m., Vlad Buslov wrote:
On Thu 08 Apr 2021 at 02:50, Cong Wang <xiyou.wangc...@gmail.com> wrote:
Origins of setting ovr based on NLM_F_REPLACE are lost since this code goes back to Linus' Linux-2.6.12-rc2 commit. Jamal, do you know if this is the expected behavior or just something unintended?
Seems our emails crossed path. The problem with ovr is the ambiguity of whether we are saying both CREATE and REPLACE or just one or the other. We could improve the kernel side by just passing the flags to each action. Note it is too late to fix iproute2 without some backward compat flag; but it may not be too late for someone writting a new application in user space. cheers, jamal