diff for duplicates of <4FC9E56C.4000707@computer.org> diff --git a/a/1.txt b/N1/1.txt index 36a02a1..361f8d5 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -6,7 +6,7 @@ On 05/29/2012 10:15 AM, Shimoda, Yoshihiro wrote: > - netif_rx(skb); > - ndev->stats.rx_packets++; > - ndev->stats.rx_bytes += pkt_len; -> + if (netif_receive_skb(skb) = NET_RX_DROP) { +> + if (netif_receive_skb(skb) == NET_RX_DROP) { > + ndev->stats.rx_dropped++; > + } else { > + ndev->stats.rx_packets++; diff --git a/a/content_digest b/N1/content_digest index 1b0e442..afdaac6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\04FC48589.6060009@renesas.com\0" "From\0Jan Ceuleers <jan.ceuleers@computer.org>\0" "Subject\0Re: [PATCH v5 6/6 resend] net: sh_eth: use NAPI\0" - "Date\0Sat, 02 Jun 2012 10:05:32 +0000\0" + "Date\0Sat, 02 Jun 2012 12:05:32 +0200\0" "To\0Shimoda" " Yoshihiro <yoshihiro.shimoda.uh@renesas.com>\0" "Cc\0netdev <netdev@vger.kernel.org>" @@ -16,7 +16,7 @@ "> -\t\t\tnetif_rx(skb);\n" "> -\t\t\tndev->stats.rx_packets++;\n" "> -\t\t\tndev->stats.rx_bytes += pkt_len;\n" - "> +\t\t\tif (netif_receive_skb(skb) = NET_RX_DROP) {\n" + "> +\t\t\tif (netif_receive_skb(skb) == NET_RX_DROP) {\n" "> +\t\t\t\tndev->stats.rx_dropped++;\n" "> +\t\t\t} else {\n" "> +\t\t\t\tndev->stats.rx_packets++;\n" @@ -46,4 +46,4 @@ "\n" Thanks, Jan -1832312d628b183e7f6cbf6b4cbcc5f7f70ff8ed0bd97a65581de0f645f16d29 +52fadde2c4879cd257721dc44bec81b52701a9f77a4a941ba48eaf7caddb2192
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.