• Stephen Hemminger's avatar
    [BRIDGE]: Read forwarding table chunk at a time. · 7e40dbf8
    Stephen Hemminger authored
    Change how the read of forwarding table works.  Instead of copying
    entries to user one at a time, use an intermediate kernel buffer and
    do up to a page at a chunk.
    
    This gets rid of some awkward code dealing with entries getting deleted
    during the copy.  And allows same function to be used by later sysfs
    hook.
    7e40dbf8
br_private.h 5.69 KB