Commit 2df5368
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 <[email protected]>
Signed-off-by: Jonas Johansson <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>1 parent 3fcdb6b commit 2df5368
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
262 | 263 | | |
263 | 264 | | |
264 | 265 | | |
| |||
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | | - | |
321 | | - | |
| 321 | + | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| |||
0 commit comments