diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2010-01-25 15:46:58 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-25 15:46:58 -0800 |
commit | 4f9a91c81273b66afe0b6a9be460b47581b28246 (patch) | |
tree | a9868d5c1765e7bb13d7b4bf4013a4f8df043052 /net/sched/cls_rsvp.h | |
parent | d7c7544c3d5f59033d1bf3236bc7b289f5f26b75 (diff) |
qlge: Only free resources if they were allocated
Currently qlge tries to release regions even if they were not allocated.
This causes messages like the following in the kernel log
Trying to free nonexistent resource <00000000006af400-00000000006af4ff>
Trying to free nonexistent resource <00003c04ff9f4000-00003c04ff9f7fff>
Trying to free nonexistent resource <00003c04ffc00000-00003c04ffcfffff>
This patch fixes the goto logic in order to not release the resources
if they were not allocated.
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_rsvp.h')
0 files changed, 0 insertions, 0 deletions