commit | f163530407280485034c836d908b49787a8189bc | [log] [tgz] |
---|---|---|
author | Kulikov Vasiliy <segooon@gmail.com> | Fri Jul 09 02:25:22 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 10 19:42:06 2010 -0700 |
tree | 0f03dbed022025a5f4d78d5e2b84b8656873c138 | |
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>