ipv6: add inet6_fill_args
authorChristian Brauner <christian@brauner.io>
Tue, 4 Sep 2018 19:53:55 +0000 (21:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Sep 2018 05:27:11 +0000 (22:27 -0700)
commit203651b665f72ba765fc4721842a471f8e9e5739
treea6618f807f9758824830abd55e71ca3bcda61203
parent978a46fa6c34c311f44e6f832cbea765ac148ace
ipv6: add inet6_fill_args

inet6_fill_if{addr,mcaddr, acaddr}() already took 6 arguments which
meant the 7th argument would need to be pushed onto the stack on x86.
Add a new struct inet6_fill_args which holds common information passed
to inet6_fill_if{addr,mcaddr, acaddr}() and shortens the functions to
three pointer arguments.

Signed-off-by: Christian Brauner <christian@brauner.io>
Cc: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c