]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb99fafb578c752c807cf83878b98a98a0c3dc4d
tree70b38565b7778c2e4c5d66731b29212e4f8665d8
parent7f054f653f413c27edf07ca89918acd6969aae24
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