summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/rxrpc.txt
diff options
context:
space:
mode:
authorNathan Hintz <nlhintz@hotmail.com>2013-10-29 19:32:01 -0700
committerDavid S. Miller <davem@davemloft.net>2013-10-29 22:59:19 -0400
commitb757a62e9f0df5c997c666dca4ad81197b5d8917 (patch)
tree9d5eea9809b64db417adbb5b4d375b1b6722f128 /Documentation/networking/rxrpc.txt
parent32663b8b8948cc05f812ab82c1c7db2db3ddf717 (diff)
bgmac: don't update slot on skb alloc/dma mapping error
Don't update the slot in "bgmac_dma_rx_skb_for_slot" unless both the skb alloc and dma mapping are successful; and free the newly allocated skb if a dma mapping error occurs. This relieves the caller of the need to deduce/execute the appropriate cleanup action required when an error occurs. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> Acked-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/rxrpc.txt')
0 files changed, 0 insertions, 0 deletions