net: RTNETLINK adjusting values of min_ifinfo_dump_size
authorStefan Gula <steweg@gmail.com>
Thu, 26 Jan 2012 11:01:06 +0000 (11:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jan 2012 21:35:57 +0000 (16:35 -0500)
commitf18da14565819ba43b8321237e2426a2914cc2ef
tree263689dd9f9b39e6995c32e13ac725d1153a5641
parentf2b3ee9e4200b32d113b1bd3c93f9a836c97357c
net: RTNETLINK adjusting values of min_ifinfo_dump_size

Setting link parameters on a netdevice changes the value
of if_nlmsg_size(), therefore it is necessary to recalculate
min_ifinfo_dump_size.

Signed-off-by: Stefan Gula <steweg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c