Message ID | 9325e72a4729d61dbd1368fec1d1be92c20f1236.1310229312.git.mirq-linux@rere.qmqm.pl |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 8211b9a..c64b403 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -4973,6 +4973,8 @@ static int tg3_rx(struct tg3_napi *tnapi, int budget) skb_size = tg3_alloc_rx_skb(tp, tpr, opaque_key, *post_ptr); +#warning drops packets from rx queue head on memory pressure +#warning (like dev_skb_finish_rx_dma_refill() users) if (skb_size < 0) goto drop_it;
This could use common rx handler code, but the code is too complex for a simple conversion. Just warn about its behaviour. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> --- drivers/net/tg3.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)