summaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@redhat.com>2013-12-05 11:36:58 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-06 15:16:51 -0500
commita752a8b94da4865d9c361c16ccf7ccb2994291dd (patch)
tree7c20a191a5dca36ef7f9338803d13666376a3883 /drivers/net/virtio_net.c
parentb05004adf9d34e7fb8e96fe6a7cdeb0843f5ab35 (diff)
downloadop-kernel-dev-a752a8b94da4865d9c361c16ccf7ccb2994291dd.zip
op-kernel-dev-a752a8b94da4865d9c361c16ccf7ccb2994291dd.tar.gz
bonding: fix packets_per_slave showing
There's an issue when showing the value of packets_per_slave due to using signed integer. The value may be < 0 and thus not put through reciprocal_value() before showing. This patch makes it use unsigned integer when showing it. CC: Andy Gospodarek <andy@greyhouse.net> CC: Jay Vosburgh <fubar@us.ibm.com> CC: Veaceslav Falico <vfalico@redhat.com> CC: David S. Miller <davem@davemloft.net> Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Acked-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud