summaryrefslogtreecommitdiffstats
path: root/net/phonet/socket.c
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2012-06-15 00:39:27 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-18 01:23:54 +0200
commitdf2bcc4af2616b18efeaa3d044fe15ce891c5d21 (patch)
tree259e98cfa15e68a3bdf9b03e06b97214577a1c83 /net/phonet/socket.c
parentusbnet: sanitise overlong driver information strings (diff)
downloadlinux-df2bcc4af2616b18efeaa3d044fe15ce891c5d21.tar.xz
linux-df2bcc4af2616b18efeaa3d044fe15ce891c5d21.zip
bonding: show all the link status of slaves
There are four link statuses of a bonding slave, the procfs code shows a wrong status when using downdelay/updelay: (slave->link == BOND_LINK_UP) ? "up" : "down" It doesn't respect the rest two statuses. This patch fixes it. Cc: Jay Vosburgh <fubar@us.ibm.com> Cc: Andy Gospodarek <andy@greyhouse.net> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet/socket.c')
0 files changed, 0 insertions, 0 deletions