net: correct off-by-one write allocations reports
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 18 Jun 2009 02:05:41 +0000 (19:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Jun 2009 07:29:12 +0000 (00:29 -0700)
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found