diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-07-09 02:25:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-10 19:42:06 -0700 |
commit | f163530407280485034c836d908b49787a8189bc (patch) | |
tree | 0f03dbed022025a5f4d78d5e2b84b8656873c138 /drivers/video/atafb_mfb.c | |
parent | 344dbf1073d1cea179ed0831547cab2b7ea4ea27 (diff) |
82596: do not panic on out of memory
If dev_alloc_skb() failed then free already allocated skbs.
remove_rx_bufs() can be called multiple times, so set rbd->skb to NULL
to avoid double free. remove_rx_bufs() was moved upwards to be seen by
init_rx_bufs().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video/atafb_mfb.c')
0 files changed, 0 insertions, 0 deletions