[systemd-devel] [PATCH] Fixed incorrect type for MTU

Tom Gundersen teg at jklm.no
Thu May 21 06:28:17 PDT 2015


On Thu, May 21, 2015 at 12:54 PM, dmoneil2 <david.m.oneill at intel.com> wrote:
> The parser uses size_t for MTU however the structure is defined with unsigned int
> as the target type resulting in a value corruption for the next field of the structure.
>
> dmoneil2 (1):
>   Fixed issue with corruption of speed value when setting on x64
>     systems.
>
>  src/udev/net/link-config.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks for the patch!  I now pushed a similar fix, please verify that
it works for you.

Cheers,

Tom


More information about the systemd-devel mailing list