diff for duplicates of <4FCC9942.5080809@renesas.com> diff --git a/a/1.txt b/N1/1.txt index d867b8e..b0c80fd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -7,7 +7,7 @@ >> - 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 624df97..d25694f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\04FC9E56C.4000707@computer.org\0" "From\0Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>\0" "Subject\0Re: [PATCH v5 6/6 resend] net: sh_eth: use NAPI\0" - "Date\0Mon, 04 Jun 2012 11:17:22 +0000\0" + "Date\0Mon, 04 Jun 2012 20:17:22 +0900\0" "To\0Jan Ceuleers <jan.ceuleers@computer.org>\0" "Cc\0netdev <netdev@vger.kernel.org>" " SH-Linux <linux-sh@vger.kernel.org>\0" @@ -17,7 +17,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" @@ -52,4 +52,4 @@ "Best regards,\n" Yoshihiro Shimoda -b2a1ad44ec189fb86f66c274c675de234f0b5c5ae8beb107c639b5f1ca288ac5 +cefae86ecbd2426d6f882f66629cc6007cfe8da94af4bbae57dd610224a780eb
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.