Comment 39 for bug 1720126

Revision history for this message
In , Hangbin (hangbin-redhat-bugs) wrote :

commit 72b365e8e0fd5efe1d5c05d04c25950736635cfb
Author: Phil Sutter <email address hidden>
Date: Fri Mar 4 19:57:28 2016 +0100

    libnetlink: Double the dump buffer size

    There have been reports about 'ip addr' printing "Message truncated" on
    systems with large numbers of VFs. Although I haven't been able to get
    my hands on hardware suitable to reproduce this, increasing the dump
    buffer has been reported to resolve the issue. For want of a better
    idea, just double the buffer size to 32k.

    Feels like this opportunistic buffer size selection is rather
    workarounding a design flaw in libnetlink or maybe even the netlink
    protocol itself.

    Signed-off-by: Phil Sutter <email address hidden>