diff options
| author | David S. Miller <davem@davemloft.net> | 2014-01-15 15:17:03 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-01-15 15:17:03 -0800 |
| commit | 89fc8632dd7d3402b0320551da207e44f5ce5a3e (patch) | |
| tree | cc80601cdb7096b9dc4d9d5f14eb477c4dd82322 /include/linux | |
| parent | b93819854d6e79999a01ae73f90d3a4b06816cf7 (diff) | |
| parent | 5bb025fae53889cc99a21058c5dd369bf8cce820 (diff) | |
| download | cachepc-linux-89fc8632dd7d3402b0320551da207e44f5ce5a3e.tar.gz cachepc-linux-89fc8632dd7d3402b0320551da207e44f5ce5a3e.zip | |
Merge branch 'netdev_sysfs_symlink_rename'
Veaceslav Falico says:
====================
net: rename device's sysfs symlinks on name change
First patch only adds helper functions and cleans up the code a bit, second
one already does the renaming.
v1->v2:
Don't export the function, as it's used only in dev.c.
====================
Reported-by: Ding Tianhong <dingtianhong@huawei.com>
CC: Ding Tianhong <dingtianhong@huawei.com>
CC: "David S. Miller" <davem@davemloft.net>
CC: Eric Dumazet <edumazet@google.com>
CC: Nicolas Dichtel <nicolas.dichtel@6wind.com>
CC: Cong Wang <amwang@redhat.com>
CC: netdev@vger.kernel.org
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 5c88ab19b3eb..30f6513f3b4d 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2941,6 +2941,7 @@ int netdev_master_upper_dev_link_private(struct net_device *dev, void *private); void netdev_upper_dev_unlink(struct net_device *dev, struct net_device *upper_dev); +void netdev_adjacent_rename_links(struct net_device *dev, char *oldname); void *netdev_lower_dev_get_private(struct net_device *dev, struct net_device *lower_dev); int skb_checksum_help(struct sk_buff *skb); |
