From: David Miller <davem@redhat.com>
To: pabeni@redhat.com
Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com, avagin@gmail.com,
hannes@stressinduktion.org
Subject: Re: [PATCH net-next] udplite: fix NULL pointer dereference
Date: Tue, 15 Nov 2016 11:59:53 -0500 (EST) [thread overview]
Message-ID: <20161115.115953.28961096557280844.davem@redhat.com> (raw)
In-Reply-To: <ac389a539b9299b44f63a2d1f744a637a8126943.1479223645.git.pabeni@redhat.com>
From: Paolo Abeni <pabeni@redhat.com>
Date: Tue, 15 Nov 2016 16:37:53 +0100
> The commit 850cbaddb52d ("udp: use it's own memory accounting schema")
> assumes that the socket proto has memory accounting enabled,
> but this is not the case for UDPLITE.
> Fix it enabling memory accounting for UDPLITE and performing
> fwd allocated memory reclaiming on socket shutdown.
> UDP and UDPLITE share now the same memory accounting limits.
> Also drop the backlog receive operation, since is no more needed.
>
> Fixes: 850cbaddb52d ("udp: use it's own memory accounting schema")
> Reported-by: Andrei Vagin <avagin@gmail.com>
> Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Applied, thank you.
prev parent reply other threads:[~2016-11-15 16:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-15 15:37 [PATCH net-next] udplite: fix NULL pointer dereference Paolo Abeni
2016-11-15 16:59 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161115.115953.28961096557280844.davem@redhat.com \
--to=davem@redhat.com \
--cc=avagin@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=hannes@stressinduktion.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox