]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: add extra field for bond_opt_value
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 21 Feb 2022 05:54:55 +0000 (13:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Feb 2022 12:13:45 +0000 (12:13 +0000)
commit176610bde67185be9960ad2c56a5be5977ac4432
treeffaf8dd6d7c8cc2bff7bb494649c0fbee9a6e868
parent0ffbe428b44fb1b78f8de0daa979087842925959
bonding: add extra field for bond_opt_value

Adding an extra storage field for bond_opt_value so we can set large
bytes of data for bonding options in future, e.g. IPv6 address.

Define a new call bond_opt_initextra(). Also change the checking order of
__bond_opt_init() and check values first.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/bond_options.h