ipv4: add inet_fill_args
authorChristian Brauner <christian@brauner.io>
Tue, 4 Sep 2018 19:53:54 +0000 (21:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Sep 2018 05:27:11 +0000 (22:27 -0700)
commit978a46fa6c34c311f44e6f832cbea765ac148ace
tree16e4db6d669d6bf5772d03e1f33b08c97b22a20d
parent7e4a8d5a93f649a1c0a0181cab5d965b1f85cf71
ipv4: add inet_fill_args

inet_fill_ifaddr() already took 6 arguments which meant the 7th argument
would need to be pushed onto the stack on x86.
Add a new struct inet_fill_args which holds common information passed
to inet_fill_ifaddr() and shortens the function 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/ipv4/devinet.c