Skip to contentSkip to conversation

Refactor received packet processing

PATCH In review Mike McCormack 1 participant 1 message Jun 6, 2011

lore
Share & tools
lore
#0 lore raw

cover Refactor received packet processing

Hi Larry,

This patch series refactors the _rtl_pci_rx_interrupt function into two functions, and changes its behavior slightly by throwing away bad incoming packets and failing on SKB allocation earlier.

thanks,

Mike

Mike McCormack (5):
rtlwifi: Allocate new skb before modifying old
rtlwifi: Remove unnecessary indent
rtlwifi: Resubmit skbs with bad CRC early
rtlwifi: Free skb in one place
rtlwifi: Factor out code to receive one packet

 drivers/net/wireless/rtlwifi/pci.c |  208 ++++++++++++++++-------------------
 1 files changed, 95 insertions(+), 113 deletions(-)
Signature · 1 line
1.7.4.1