All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Wedson Almeida Filho <wedsonaf@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Thomas Graf <tgraf@suug.ch>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] [NET]: Unmap fragment page once iterator is done
Date: Mon, 24 Jun 2013 14:35:19 +0400	[thread overview]
Message-ID: <51C820E7.6040004@cogentembedded.com> (raw)
In-Reply-To: <1372055628-27044-1-git-send-email-wedsonaf@gmail.com>

Hello.

On 24-06-2013 10:33, Wedson Almeida Filho wrote:

> Callers of skb_seq_read() are currently forced to call skb_abort_seq_read()
> even when consuming all the data because the last call to skb_seq_read (the
> one that returns 0 to indicate the end) fails to unmap the last fragment page.

> With this patch callers will be allowed to traverse the SKB data by calling
> skb_prepare_seq_read() once and repeatedly calling skb_seq_read() as originally
> intended (and documented in the original commit 677e90eda), that is, only call

    Please also specify the summary line of that commit.

> skb_abort_seq_read() if the sequential read is actually aborted.

> Signed-off-by: Wedson Almeida Filho <wedsonaf@gmail.com>

WBR, Sergei


  parent reply	other threads:[~2013-06-24 10:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-24  6:33 [PATCH v2] [NET]: Unmap fragment page once iterator is done Wedson Almeida Filho
2013-06-24  8:47 ` David Miller
2013-06-24 10:35 ` Sergei Shtylyov [this message]
2013-06-24 22:47   ` Wedson Almeida Filho
2013-06-24 22:57     ` Sergei Shtylyov
2013-06-24 23:31     ` David Miller

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=51C820E7.6040004@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=tgraf@suug.ch \
    --cc=wedsonaf@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.