Branch: refs/heads/master Home: https://github.com/jpirko/libteam Commit: 2df53681c954b555cb33a2cb9aacb90afb1e272e https://github.com/jpirko/libteam/commit/2df53681c954b555cb33a2cb9aacb90afb1... Author: Greger Wrang gregermw@gmail.com Date: 2016-05-06 (Fri, 06 May 2016)
Changed paths: M libteam/options.c
Log Message: ----------- libteam: fix TEAM_OPTION_TYPE_BOOL type for big endian architectures
The TEAM_OPTION_TYPE_BOOL is handled as a bool in the kernel and as a long in userspace. On a little endian architecture this is not a problem, but on a big endian architecture the result will not be correct.
Signed-off-by: Greger Wrang gregermw@gmail.com Signed-off-by: Jonas Johansson jonasj76@gmail.com Signed-off-by: Jiri Pirko jiri@mellanox.com
libteam@lists.fedorahosted.org