net/ipv6: reserve room for IFLA_INET6_ADDR_GEN_MODE
authorSabrina Dubroca <sd@queasysnail.net>
Mon, 9 Jul 2018 10:25:16 +0000 (12:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2018 05:50:45 +0000 (22:50 -0700)
commitbdd72f41333d9f61a22e4c4494e95782e9731fdb
tree45478c3378359784472696201bf362e621b3c75b
parent70c30d76e580fe4aefe6facdf0f1edb1aa9a0e7a
net/ipv6: reserve room for IFLA_INET6_ADDR_GEN_MODE

inet6_ifla6_size() is called to check how much space is needed by
inet6_fill_link_af() and inet6_fill_ifinfo(), both of which include
the IFLA_INET6_ADDR_GEN_MODE attribute. Reserve some room for it.

Fixes: bc91b0f07ada ("ipv6: addrconf: implement address generation modes")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c