• Veaceslav Falico's avatar
    net: create sysfs symlinks for neighbour devices · 5831d66e
    Veaceslav Falico authored
    Also, remove the same functionality from bonding - it will be already done
    for any device that links to its lower/upper neighbour.
    
    The links will be created for dev's kobject, and will look like
    lower_eth0 for lower device eth0 and upper_bridge0 for upper device
    bridge0.
    
    CC: Jay Vosburgh <fubar@us.ibm.com>
    CC: Andy Gospodarek <andy@greyhouse.net>
    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>
    Signed-off-by: default avatarVeaceslav Falico <vfalico@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    5831d66e
dev.c 170 KB