This patch converts /proc/net/bondXX/info to the seq_file interface; patch is against 2.6.0-test3; but seq_file has been backported to latest 2.4 as well. It also fixes a bug with multiple bond devic
Guys, We have already submitted a patch that does the exact same thing (give back info only for the queried bond) that is sitting in Jeff's net-drivers queue. It is a part of a whole set of patches m
There is one more reason for my plea that I didn't mention: Currently the bonding version in 2.6 is way behind what's in 2.4. We are hoping that once the stuff in 2.4 is synched, we could just copy e
Can you provide a pointer to this code? seq_file is the standard and preferred way to do this kind of thing. - James -- James Morris <jmorris@xxxxxxxxxxxxxxxx>
Please see my email from August 8th with subject: "[SET 1][PATCH 3/6][bonding] backport 2.6 changes to 2.4" sent to netdev@xxxxxxxxxxx and bonding-devel@xxxxxxxxxxxxxxxxxxxxxx Yes, we know. We wanted
Using a pointer with seq_file was really easy. init... bond->bond_proc_file = create_proc_entry(dev->name, S_IRUGO, bond_proc_dir); if (bond->bonc_proc_file) { bond->bond_proc_file->data = bond; bond
[snip] Yes, but PDE(inode) does not exist in 2.4 yet, and we wanted to achieve compatibility between bonding in 2.6 and 2.4 first so we may then update 2.6 bonding which is too far behind what's in