diff options
author | Andy Fleming <afleming@freescale.com> | 2008-12-18 00:50:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-18 00:50:22 (GMT) |
commit | 8882d9a60028a9937e9c5652cfb80d4399ce5242 (patch) | |
tree | d39f493014cc3c3959617ef78d003a72668c5cbe /kernel | |
parent | a693722aec4ce26fb46c21cf4bf4422484a397a7 (diff) | |
download | linux-8882d9a60028a9937e9c5652cfb80d4399ce5242.tar.xz |
gianfar: Fix packet drop when out of memory
The patch which fixed gianfar so it drops packets when it runs out
of memory left in the code which frees the skb when it drops packets.
Change the code so that we only free the skb if the new skb was successfully
created.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions