Re: [PATCH net] macvlan: filter out unsupported feature flags

2018-03-11 Thread David Miller
From: Shannon Nelson Date: Thu, 8 Mar 2018 16:17:23 -0800 > Adding a macvlan device on top of a lowerdev that supports > the xfrm offloads fails with a new regression: > # ip link add link ens1f0 mv0 type macvlan > RTNETLINK answers: Operation not permitted > > Tracing down the failure show

[PATCH net] macvlan: filter out unsupported feature flags

2018-03-08 Thread Shannon Nelson
Adding a macvlan device on top of a lowerdev that supports the xfrm offloads fails with a new regression: # ip link add link ens1f0 mv0 type macvlan RTNETLINK answers: Operation not permitted Tracing down the failure shows that the macvlan device inherits the NETIF_F_HW_ESP and NETIF_F_HW_ESP_