Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171813
b: refs/heads/master
c: 3eadb7b
h: refs/heads/master
i:
  171811: 9b288b8
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Nov 24, 2009
1 parent 5c4b120 commit 09c2492
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1241e951af060c16cd851a83a045ca3a80288383
refs/heads/master: 3eadb7b0ec39d7ee45804d691c96fa2fbc3745ee
6 changes: 4 additions & 2 deletions trunk/drivers/net/sfc/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ static void efx_rx_packet_lro(struct efx_channel *channel,
skb->ip_summed =
checksummed ? CHECKSUM_UNNECESSARY : CHECKSUM_NONE;

skb_record_rx_queue(skb, channel->channel);

gro_result = napi_gro_frags(napi);
} else {
struct sk_buff *skb = rx_buf->skb;
Expand Down Expand Up @@ -578,6 +580,8 @@ void __efx_rx_packet(struct efx_channel *channel,
* at the ethernet header */
rx_buf->skb->protocol = eth_type_trans(rx_buf->skb,
efx->net_dev);

skb_record_rx_queue(rx_buf->skb, channel->channel);
}

if (likely(checksummed || rx_buf->page)) {
Expand All @@ -593,8 +597,6 @@ void __efx_rx_packet(struct efx_channel *channel,
/* Set the SKB flags */
skb->ip_summed = CHECKSUM_NONE;

skb_record_rx_queue(skb, channel->channel);

/* Pass the packet up */
netif_receive_skb(skb);

Expand Down

0 comments on commit 09c2492

Please sign in to comment.