net: increase preallocated size of nlmsg to accomodate for IFLA_STATS64
authorJan Engelhardt <jengelh@medozas.de>
Sun, 28 Mar 2010 00:15:29 +0000 (17:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Mar 2010 00:15:29 +0000 (17:15 -0700)
commitadcfe1964e627b62fbc6e45609b1f0db2c64dd14
tree70b38565b7778c2e4c5d66731b29212e4f8665d8
parent14a4b42bd6082b4ce3b94bad00cd367707cc1e97
net: increase preallocated size of nlmsg to accomodate for IFLA_STATS64

When more data is stuffed into an nlmsg than initially projected, an
extra allocation needs to be done. Reserve enough for IFLA_STATS64 so
that this does not to needlessy happen.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c