netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: christian.riesch@omicron.at
Cc: netdev@vger.kernel.org, richardcochran@gmail.com
Subject: Re: [PATCH net-next] dp83640: Fix length check for event timestamp status messages
Date: Fri, 22 Aug 2014 12:36:16 -0700 (PDT)	[thread overview]
Message-ID: <20140822.123616.814889773296037742.davem@davemloft.net> (raw)
In-Reply-To: <1408627024-12932-1-git-send-email-christian.riesch@omicron.at>

From: Christian Riesch <christian.riesch@omicron.at>
Date: Thu, 21 Aug 2014 15:17:04 +0200

> Event timestamp status messages have a variable length, ranging from
> 1 to 5 words (16 bit words). The current code however requires
> a minimum message length of sizeof(*phy_txts). In most cases this
> condition is fulfilled due to padding bytes. However, if several events
> are signaled in a single message, padding bytes may not be present.
> For short event timestamp status messages, the length check will fail,
> and the event timestamp will be dropped.
> 
> Signed-off-by: Christian Riesch <christian.riesch@omicron.at>

Applied.

      reply	other threads:[~2014-08-22 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 13:17 [PATCH net-next] dp83640: Fix length check for event timestamp status messages Christian Riesch
2014-08-22 19:36 ` 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=20140822.123616.814889773296037742.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=christian.riesch@omicron.at \
    --cc=netdev@vger.kernel.org \
    --cc=richardcochran@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).