Re: [PATCH] net: correct off-by-one write allocations reports

From: David Miller
Date: Wed Jun 17 2009 - 22:06:03 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Wed, 17 Jun 2009 08:41:53 +0200

> [PATCH] net: correct off-by-one write allocations reports
>
> commit 2b85a34e911bf483c27cfdd124aeb1605145dc80
> (net: No more expensive sock_hold()/sock_put() on each tx)
> changed initial sk_wmem_alloc value.
>
> We need to take into account this offset when reporting
> sk_wmem_alloc to user, in PROC_FS files or various
> ioctls (SIOCOUTQ/TIOCOUTQ)
>
> Signed-off-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/