[ovs-dev] [PATCH] datapath: RHEL 7.5 ndo_change_mtu backward compatibility

Lucas Alvares Gomes lucasagomes at gmail.com
Thu May 17 13:09:23 UTC 2018


On Thu, May 17, 2018 at 12:27 PM,  <lucasagomes at gmail.com> wrote:
> From: Lucas Alvares Gomes <lucasagomes at gmail.com>
>
> The commit [0] partially fixed the problem but in RHEL 7.5 neither
> .{min, max}_mtu or 'ndo_change_mtu' were being set/implemented for
> vport-internal_dev.c.
>
> As pointed out by commit [0], the ndo_change_mtu function pointer has been
> moved from 'struct net_device_ops' to 'struct net_device_ops_extended'
> on RHEL 7.5.
>
> So this patch fixes the backport issue by setting the
> .extended.ndo_change_mtu when necessary.
>
> [0] 39ca338374abe367e28a2247bac9159695f19710

Signed-off-by: Lucas Alvares Gomes <lucasagomes at gmail.com>

Sorry, forgot it to append it to the commit message before submitting the patch.


More information about the dev mailing list