lkml.org 
[lkml]   [2024]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next] Add handling of NETDEV_DOWN event
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.

\
 
 \ /
  Last update: 2024-05-27 16:23    [W:0.062 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site