summaryrefslogtreecommitdiffstats
path: root/net/ceph/mon_client.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-08-20 12:22:00 +0200
committerDavid S. Miller <davem@davemloft.net>2013-08-20 23:52:02 -0700
commit846989635b368c41efd9079ec6fe0e8d2845ec11 (patch)
tree282a9eacb2f268ef50d4c769078157b10a5c3877 /net/ceph/mon_client.c
parentd8a64420eb267bec9f4c99627deee4fa3bf4133e (diff)
downloadop-kernel-dev-846989635b368c41efd9079ec6fe0e8d2845ec11.zip
op-kernel-dev-846989635b368c41efd9079ec6fe0e8d2845ec11.tar.gz
net: ipv6: igmp6_event_query: use msecs_to_jiffies
Use proper API functions to calculate jiffies from milliseconds and not the crude method of dividing HZ by a value. This ensures more accurate values even in the case of strange HZ values. While at it, also simplify code in the mlh2 case by using max(). Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph/mon_client.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud