From: Richard Cochran <richardcochran@gmail.com>
To: Stephan Gatzka <stephan@gatzka.org>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
stable <stable@vger.kernel.org>
Subject: Re: [PATCH 1/1] fec_mpc52xx: fix timestamp filtering
Date: Sat, 2 Jun 2012 21:06:05 +0200 [thread overview]
Message-ID: <20120602190605.GA2202@netboy.at.omicron.at> (raw)
In-Reply-To: <1338642246-10911-1-git-send-email-stephan@gatzka.org>
On Sat, Jun 02, 2012 at 03:04:06PM +0200, Stephan Gatzka wrote:
> skb_defer_rx_timestamp was called with a freshly allocated skb but must
> be called with rskb instead.
Thanks for checking this, and sorry for the trouble it caused you.
Acked-by: Richard Cochran <richardcochran@gmail.com>
>
> Signed-off-by: Stephan Gatzka <stephan@gatzka.org>
> Cc: stable <stable@vger.kernel.org>
> ---
> drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/freescale/fec_mpc52xx.c b/drivers/net/ethernet/freescale/fec_mpc52xx.c
> index 97f947b..2933d08 100644
> --- a/drivers/net/ethernet/freescale/fec_mpc52xx.c
> +++ b/drivers/net/ethernet/freescale/fec_mpc52xx.c
> @@ -437,7 +437,7 @@ static irqreturn_t mpc52xx_fec_rx_interrupt(int irq, void *dev_id)
> length = status & BCOM_FEC_RX_BD_LEN_MASK;
> skb_put(rskb, length - 4); /* length without CRC32 */
> rskb->protocol = eth_type_trans(rskb, dev);
> - if (!skb_defer_rx_timestamp(skb))
> + if (!skb_defer_rx_timestamp(rskb))
> netif_rx(rskb);
>
> spin_lock(&priv->lock);
> --
> 1.7.9.5
>
next prev parent reply other threads:[~2012-06-02 19:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-02 13:04 [PATCH 1/1] fec_mpc52xx: fix timestamp filtering Stephan Gatzka
2012-06-02 19:06 ` Richard Cochran [this message]
2012-06-02 21:09 ` 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=20120602190605.GA2202@netboy.at.omicron.at \
--to=richardcochran@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=stephan@gatzka.org \
/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).