mbox series

[net,v2,0/2] fix glitch in IPVS /proc handlers

Message ID 20180731160333.12215-1-mcroce@redhat.com
Headers show
Series fix glitch in IPVS /proc handlers | expand

Message

Matteo Croce July 31, 2018, 4:03 p.m. UTC
Fix a bug which shows negative values in IPVS /proc handlers.
Also add an helper function to calculate a time delta

Matteo Croce (2):
  jiffies: add utility function to calculate delta in ms
  ipvs: don't show negative times in ip_vs_conn

 include/linux/jiffies.h         |  5 +++++
 net/netfilter/ipvs/ip_vs_conn.c | 22 ++++++++++++++--------
 2 files changed, 19 insertions(+), 8 deletions(-)

Comments

Simon Horman July 31, 2018, 4:28 p.m. UTC | #1
On Tue, Jul 31, 2018 at 06:03:31PM +0200, Matteo Croce wrote:
> Fix a bug which shows negative values in IPVS /proc handlers.
> Also add an helper function to calculate a time delta
> 
> Matteo Croce (2):
>   jiffies: add utility function to calculate delta in ms
>   ipvs: don't show negative times in ip_vs_conn

Acked-by: Simon Horman <horms@verge.net.au>

Pablo, please consider taking these via the nf tree.
Pablo Neira Ayuso Aug. 3, 2018, 10:40 a.m. UTC | #2
On Tue, Jul 31, 2018 at 06:28:22PM +0200, Simon Horman wrote:
> On Tue, Jul 31, 2018 at 06:03:31PM +0200, Matteo Croce wrote:
> > Fix a bug which shows negative values in IPVS /proc handlers.
> > Also add an helper function to calculate a time delta
> > 
> > Matteo Croce (2):
> >   jiffies: add utility function to calculate delta in ms
> >   ipvs: don't show negative times in ip_vs_conn
> 
> Acked-by: Simon Horman <horms@verge.net.au>
> 
> Pablo, please consider taking these via the nf tree.

Applied, thanks Simon.
Pablo Neira Ayuso Jan. 28, 2019, 10:17 a.m. UTC | #3
On Tue, Jul 31, 2018 at 06:03:31PM +0200, Matteo Croce wrote:
> Fix a bug which shows negative values in IPVS /proc handlers.
> Also add an helper function to calculate a time delta

Series applied, thanks Matteo.