Here, and further down in bond_arp_ip_target_opt_parse(),
there's a lot of string handling that seems out place. Why isn't the
string parsing done in user space (iproute, et al), and the tags passed
to the kernel in IFLA_BOND_ARP_IP_TARGET as an optional nested
attribute?
quoted
+ }
There is no expectation that sysfs should support new bonding
API elements; only netlink / iproute2 support matters. If sysfs is the
reason to do the string parsing in the kernel, then I imagine this could
all move into userspace.
-J
Module parameter support also requires string parsing in the kernel. Can that be dropped as well?
David Wilder wilder@us.ibm.com