Re: [PATCH net-next] vrf: handle CONFIG_IPV6 not set for vrf_add_mac_header_if_unset()

2020-12-09 Thread Jakub Kicinski
On Tue, 8 Dec 2020 12:51:55 -0700 David Ahern wrote: > On 12/8/20 10:52 AM, Andrea Mayer wrote: > > The vrf_add_mac_header_if_unset() is defined within a conditional > > compilation block which depends on the CONFIG_IPV6 macro. > > However, the vrf_add_mac_header_if_unset() needs to be called also

Re: [PATCH net-next] vrf: handle CONFIG_IPV6 not set for vrf_add_mac_header_if_unset()

2020-12-08 Thread David Ahern
On 12/8/20 10:52 AM, Andrea Mayer wrote: > The vrf_add_mac_header_if_unset() is defined within a conditional > compilation block which depends on the CONFIG_IPV6 macro. > However, the vrf_add_mac_header_if_unset() needs to be called also by IPv4 > related code and when the CONFIG_IPV6 is not set, t

[PATCH net-next] vrf: handle CONFIG_IPV6 not set for vrf_add_mac_header_if_unset()

2020-12-08 Thread Andrea Mayer
The vrf_add_mac_header_if_unset() is defined within a conditional compilation block which depends on the CONFIG_IPV6 macro. However, the vrf_add_mac_header_if_unset() needs to be called also by IPv4 related code and when the CONFIG_IPV6 is not set, this function is missing. As a consequence, the bu