Hi,
the netfn structures are populated sequentially in the gather_info function and they are accessed only by even indices (and to the double of its real length). This results in a segmentation fault if you run
This seems to be cause by double meaning of 'n' variable in code that populates it and the code that processes it. I'm attaching the patch that fixes the behaviour so that the ipmi_firewall_reset function treats the structure the same way as the rest of the code does.
Thanks,
Boris
Thanks.