• Veaceslav Falico's avatar
    net: print a notification on device rename · 6fe82a39
    Veaceslav Falico authored
    Currently it's done silently (from the kernel part), and thus it might be
    hard to track the renames from logs.
    
    Add a simple netdev_info() to notify the rename, but only in case the
    previous name was valid.
    
    CC: "David S. Miller" <davem@davemloft.net>
    CC: Eric Dumazet <edumazet@google.com>
    CC: Vlad Yasevich <vyasevic@redhat.com>
    CC: stephen hemminger <stephen@networkplumber.org>
    CC: Jerry Chu <hkchu@google.com>
    CC: Ben Hutchings <bhutchings@solarflare.com>
    CC: David Laight <David.Laight@ACULAB.COM>
    Signed-off-by: default avatarVeaceslav Falico <vfalico@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6fe82a39
dev.c 179 KB