currently active Linux kernel versions

2008-02-12 Thread Wagner Ferenc
Hi, which are the "currently active Linux kernel versions" at any point in time? The quote is taken from http://lkml.org/lkml/2008/2/11/29. Or more precisely: which are the "stable" versions I can depend on for a more or less critical server, those that have active security support or receive at

[PATCH 1/5] Remove trailing NULs from network bonding sysfs interface.

2007-12-02 Thread Wagner Ferenc
Also remove trailing spaces from multivalued files. This fixes output like for example: $ od -c /sys/class/net/bond0/bonding/slaves 000 e t h - l e f t e t h - r i g 020 h t \n \0 025 It mostly entails deleting '+1'-s after sprintf() calls:

[PATCH 2/5] net/bonding: Return nothing for not applicable values

2007-12-02 Thread Wagner Ferenc
The previous code returned '\n' (that is, a single empty line) from most files, with one exception (xmit_hash_policy), where it returned 'NA\n'. This patch consolidates each file to return nothing at all if not applicable, not even a '\n'. I find this behaviour more usual, more useful, more effic

[PATCH 3/5] net/bonding: Purely cosmetic: rename a local variable

2007-12-02 Thread Wagner Ferenc
Code for rendering multivalue sysfs files occurs three times in this module. Rename 'buffer' to 'buf' in the first, for the sake of consistency. Signed-off-by: Ferenc Wagner <[EMAIL PROTECTED]> --- drivers/net/bonding/bond_sysfs.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-

[PATCH 4/5] net/bonding: Adhere to coding style: break line after the if condition

2007-12-02 Thread Wagner Ferenc
Signed-off-by: Ferenc Wagner <[EMAIL PROTECTED]> --- drivers/net/bonding/bond_sysfs.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index 5c31f5c..9de2c52 100644 --- a/drivers/net/bonding/bond_sy

[PATCH 5/5] net/bonding: Allow setting and querying xmit policy regardless of mode

2007-12-02 Thread Wagner Ferenc
For consistency with the behaviour of the arp_ip_target option, let /sys/class/net/bond0/bonding/xmit_hash_policy accept and report current policy even if the bonding mode in effect does not use it. Signed-off-by: Ferenc Wagner <[EMAIL PROTECTED]> --- drivers/net/bonding/bond_sysfs.c | 21 +++--

Re: network driver usage count

2007-11-21 Thread Wagner Ferenc
Stephen Hemminger <[EMAIL PROTECTED]> writes: > On Wed, 21 Nov 2007 20:45:11 +0100 > Ferenc Wagner <[EMAIL PROTECTED]> wrote: > >> Under 2.6.23.1, my lsmod output shows this: >> >> $ lsmod | grep tg3 >> tg3 100580 0 >> >> The usage count is zero, even though it drives my two

bonding sysfs output

2007-11-25 Thread Wagner Ferenc
Hi, Am I totally of the limit with the attached patch against drivers/net/bonding/bond_sysfs.c? I'd like to receive some comments, as I'm not a kernel developer. I propose it as a fix for trailing NULs and spaces like eg. $ od -c /sys/class/net/bond0/bonding/slaves 000 e t h - l

Re: bonding sysfs output

2007-11-26 Thread Wagner Ferenc
Andrew Morton <[EMAIL PROTECTED]> writes: > On Sun, 25 Nov 2007 16:12:57 +0100 Wagner Ferenc <[EMAIL PROTECTED]> wrote: > >> I propose it as a fix for trailing NULs and spaces like eg. >> >> $ od -c /sys/class/net/bond0/bonding/slaves >> 000 e

Re: bonding sysfs output

2007-11-27 Thread Wagner Ferenc
Andrew Morton <[EMAIL PROTECTED]> writes: > On Tue, 27 Nov 2007 10:56:43 +0100 Ferenc Wagner <[EMAIL PROTECTED]> wrote: > >>> - raise patches against the latest Linus tree >>> (ftp://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots/) >> >> I thought it was better to change to git. Isn't it so? >>

Re: [PATCH 1/3] Remove trailing NULs from network bonding sysfs interface.

2007-11-28 Thread Wagner Ferenc
Randy Dunlap <[EMAIL PROTECTED]> writes: > On Wed, 28 Nov 2007 01:49:54 +0100 =?utf-8?q?Ferenc_W=C3=A1gner?= wrote: > > Patches 1 & 3 use > > if (res) statement; > > but the preferred form is > > if (res) > statement; > > Even if this style was already used in the source

Re: RocketPort Linux driver errors on module reload

2007-10-16 Thread Wagner Ferenc
Jiri Slaby <[EMAIL PROTECTED]> writes: > Anyway the driver faces another problem with pci refcounting (it > doesn't increment the counter) and the device might be removed from > it any time the pci bus code decides. That doesn't sound too good... Do you mean the module could stop working any tim