net: add sysfs helpers for netdev_adjacent logic
authorVeaceslav Falico <vfalico@redhat.com>
Tue, 14 Jan 2014 20:58:50 +0000 (21:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 23:16:19 +0000 (15:16 -0800)
commit3ee32707560955e92d30f7f6e5138cb92a3b1a7e
tree4e03be7259903deffe4674a7e6f6da116b1b001b
parentb93819854d6e79999a01ae73f90d3a4b06816cf7
net: add sysfs helpers for netdev_adjacent logic

They clean up the code a bit and can be used further.

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>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c