• Veaceslav Falico's avatar
    net: use lists as arguments instead of bool upper · 7863c054
    Veaceslav Falico authored
    Currently we make use of bool upper when we want to specify if we want to
    work with upper/lower list. It's, however, harder to read, debug and
    occupies a lot more code.
    
    Fix this by just passing the correct upper/lower_dev_list list_head pointer
    instead of bool upper, and work internally with it.
    
    CC: "David S. Miller" <davem@davemloft.net>
    CC: Eric Dumazet <edumazet@google.com>
    CC: Jiri Pirko <jiri@resnulli.us>
    CC: Alexander Duyck <alexander.h.duyck@intel.com>
    CC: Cong Wang <amwang@redhat.com>
    Signed-off-by: default avatarVeaceslav Falico <vfalico@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7863c054
dev.c 165 KB