Closed dtatulea closed 8 years ago
Hmm... Isn't it that we rather should do your change in ip_set()
instead of doing it in iplink_parse()
? Because, from ip_set we go directly to do_chflags()
which does the ioctl call with the 16-bit ifr_flags
field, while from iplink_parse, we do the setting via netlink, which supports 32 bits.
Or what am I missing?
You are right. I wanted to patch ip_set()
...
This has been merged some time ago.
The flags type is short when using ioctl, but multipath flags are above that. To not confuse the user, show an error when IOCTL_COMPAT mode is used.