• Phil Sutter's avatar
    libnetlink: Double the dump buffer size · 72b365e8
    Phil Sutter authored
    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: default avatarPhil Sutter <phil@nwl.cc>
    72b365e8
libnetlink.c 19.2 KB