]> git.baikalelectronics.ru Git - kernel.git/commit
net: fec: fix time stamping logic after napi conversion
authorRichard Cochran <richardcochran@gmail.com>
Fri, 30 Aug 2013 18:28:10 +0000 (20:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 22:01:19 +0000 (18:01 -0400)
commitd6c50da43a1c8283c4dc5ce86e005e340f2963d5
treeb806ac76a25611a706a325af1be8fc4b9ba9e7f7
parent3862cad059cc0ce4174e891b1f0dd18a79df3f4a
net: fec: fix time stamping logic after napi conversion

Commit 112d8290 "net: fec: add napi support to improve proformance"
converted the fec driver to the napi model. However, that commit
forgot to remove the call to skb_defer_rx_timestamp which is only
needed in non-napi drivers.

(The function napi_gro_receive eventually calls netif_receive_skb,
which in turn calls skb_defer_rx_timestamp.)

This patch should also be applied to the 3.9 and 3.10 kernels.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c