Dave Anderson wrote:
> Eugene Teo wrote:
>
> Hi Dave,
>
> I found that the net command in crash 4.0-6.1 does not work with Fedora
> kernel 2.6.23.14-115.fc8. There was a rework on dev_base[1] to replace
> the use of dev_base variable, and dev->next pointer with for_each_netdev
> loop. This patch fixes this problem.
Thanks Eugene -- queued for the next release.
BTW, the patch looks to have a short shelf-life. In 2.6.24, the
new dev_base_head list_head that your patch looks for no longer
exists. So for now I've also updated the error message in
show_net_devices() to complain if both dev_base and dev_base_head
don't exist.
I'll update the TODO list with the newer net command issue
if anybody wants to take a shot at fixing it.
Thanks,
Dave
The attached patch addresses the same issue for 2.6.24 and later kernels,
and which applies on top of Eugene's patch.
Dave