Re: [PATCH net-next] Add handling of NETDEV_DOWN event

From: Jakub Kicinski
Date: Wed Apr 03 2024 - 22:07:23 EST


On Sun, 31 Mar 2024 06:41:28 -0700 Venkat Venkatsubra wrote:
> When ethP is the parent interface of ipvlan interface ethC,
> and you do
>
> # ip link set ethP down
>
> ethC's link state is not brought down.
>
> In the below example, ens5 is the host interface which is the
> parent of the ipvlan interface eth0 in the container.
>
> Host:
>
> [root@gkn-podman-x64 ~]# ip link set ens5 down
> [root@gkn-podman-x64 ~]# ip -d link show dev ens5
> 3: ens5: <BROADCAST,MULTICAST> mtu 9000 qdisc mq state DOWN
> ...
> [root@gkn-podman-x64 ~]#
>
> Container:
>
> [root@testnode-ol8 /]# ip -d link show dev eth0
> 2: eth0@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 state UNKNOWN
> ...
> ipvlan mode l2 bridge
> [root@testnode-ol8 /]#
>
> eth0 continues to remain UP.

No need to add a cover letter for a single patch.
Add what's relevant to the main commit message.