linux-netdev mailing list

FromSubjectsort iconDate
Brian S Julin
[RFC] [PATCH] easier PBR for dynamic source tables (via ...
This is a first swat and not in final form. I hope folks here will help ve= t my thinking on it. This fills in a missed niche in policy routing support. It allows multipat= h routes to select nexthop based on the source realm, inside the routing decision step, immediately after RPF is performed. It moves RPF before multipath selection. This would be for people wanting to do policy routing based on a table injected by a dynamic routing protocol, e.g. quagga, rather than static ...
Dec 7, 3:21 pm 2007
Jeff Garzik
[git patches] net driver fixes
Nothing remarkable. Mainly bonding fixes and bringing ibm_newemac up to snuff. Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus to receive the following updates: Documentation/networking/bonding.txt | 29 ++++++++- arch/powerpc/boot/dts/sequoia.dts | 5 ++ drivers/net/Kconfig | 1 + drivers/net/bonding/bond_main.c | 116 +++++++++++++++++++++------------- ...
Dec 7, 1:31 pm 2007
Paul Moore
[PATCH] XFRM: RFC4303 compliant auditing
NOTE: This really is an RFC patch, it compiles and boots but that is pretty much all I can promise at this point. I'm posting this patch to gather feedback from the audit crowd about the continued overloading of the AUDIT_MAC_IPSEC_EVENT message type - continue to use it or create a new audit message type? Of course any other comments people may have are always welcome. This patch adds a number of new IPsec audit events to meet the auditing requirements of ...
Dec 7, 12:57 pm 2007
Joy Latten
Re: [PATCH] XFRM: RFC4303 compliant auditing
Yes, I agree. They should not happen often. Especially compared to LSPP requirements of auditing whenever SA or SPD entries were added or Also, there is great possibility of additional messages. This is for RFC 4303, which is ESP. There are also audit messages listed for rfc 4301-IPsec architecture and rfc 4302-AH that may happen later. --
Dec 7, 3:50 pm 2007
Paul Moore
Re: [PATCH] XFRM: RFC4303 compliant auditing
Agreed. I punted on doing anything here for two main reasons: 1. It makes sense to do this in the xfrm_audit_start() function which I couldn't use here without some overhaul ... 2. ... I didn't want to overhaul anything if I was going to end up using separate message types. If we decide to go with a single audit message type (kinda sounds like it) Bingo, this is the whole reason why I was wondering about a different message type. Currently only SAD and SPD changes are audited and ...
Dec 7, 2:06 pm 2007
Eric Paris
Re: [PATCH] XFRM: RFC4303 compliant auditing
I'm all for continuing to use it, but I feel like the op= strings should probably all get collected up in one place to ease maintenance in the future, might not matter but it's nice to be able to look only on place in the code to find all of the possible op= The one advantage to multiple messages is the ability to exclude and not audit certain things. How often will these extra messages actually pop out of a system? Enough that people would likely still care about some of them but decide ...
Dec 7, 1:52 pm 2007
YOSHIFUJI Hideaki /
[PATCH] [IPV6] XFRM: Fix auditing rt6i_flags; use RTF_xx ...
RTCF_xxx flags, defined in include/linux/in_route.h) are available for IPv4 route (rtable) entries only. Use RTF_xxx flags instead, defined in include/linux/ipv6_route.h, for IPv6 route entries (rt6_info). Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> -- diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index 82e27b8..b8e9eb4 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c @@ -233,7 +233,7 @@ __xfrm6_bundle_create(struct xfrm_policy *policy, ...
Dec 7, 11:41 am 2007
Pavel Emelyanov
[PATCH] Use BUILD_BUG_ON in inet_timewait_sock.c checks
Make the INET_TWDR_TWKILL_SLOTS vs sizeof(twdr->thread_slots) check nicer. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c index a60b99e..d43e787 100644 --- a/net/ipv4/inet_timewait_sock.c +++ b/net/ipv4/inet_timewait_sock.c @@ -194,16 +194,14 @@ out: EXPORT_SYMBOL_GPL(inet_twdr_hangman); -extern void twkill_slots_invalid(void); - void inet_twdr_twkill_work(struct work_struct *work) { struct ...
Dec 7, 10:46 am 2007
Pavel Emelyanov
[PATCH] Use BUILD_BUG_ON for tcp_skb_cb size checking
The sizeof(struct tcp_skb_cb) should not be less than the sizeof(skb->cb). This is checked in net/ipv4/tcp.c, but this check can be made more gracefully. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 8e65182..c8bebd3 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -2411,7 +2411,6 @@ void tcp_done(struct sock *sk) } EXPORT_SYMBOL_GPL(tcp_done); -extern void __skb_cb_too_small_for_tcp(int, int); extern struct ...
Dec 7, 10:42 am 2007
Paul Moore
Re: [PATCH] XFRM: assorted IPsec fixups
/me shrugs ... I have no idea, I've just always followed the lead of what was already written, but now that you mention it - it doesn't make much sense. I suppose at some point we can go through and change all the 'audit_enabled' users, but I wonder if there is some point (?performance?) to having the callers check? -- paul moore linux security @ hp --
Dec 7, 1:45 pm 2007
Paul Moore
[PATCH] XFRM: assorted IPsec fixups
This patch fixes a number of small but potentially troublesome things in the XFRM/IPsec code: * Use the 'audit_enabled' variable already in include/linux/audit.h Removed the need for extern declarations local to each XFRM audit fuction * Convert 'sid' to 'secid' The 'sid' name is specific to SELinux, 'secid' is the common naming convention used by the kernel when refering to tokenized LSM labels * Convert address display to use standard NIP* macros Similar to what was ...
Dec 7, 10:11 am 2007
Eric Paris
Re: [PATCH] XFRM: assorted IPsec fixups
Acked-by: Eric Paris <eparis@redhat.com> although it does make me wonder why audit_log_start doesn't just check --
Dec 7, 1:36 pm 2007
Pavel Emelyanov
[PATCH net-2.6.25] Cleanup sysctl manipulations in devinet.c
This includes: * moving neigh_sysctl_(un)register calls inside devinet_sysctl_(un)register ones, as they are always called in pairs; * making __devinet_sysctl_unregister() to unregister the ipv4_devconf struct, while original devinet_sysctl_unregister() works with the in_device to handle both - devconf and neigh sysctls; * make stubs for CONFIG_SYSCTL=n case to get rid of in-code ifdefs. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git ...
Dec 7, 9:25 am 2007
Pavel Emelyanov
[PATCH net-2.6.25] Cleanup IN_DEV_MFORWARD macro
This is essentially IN_DEV_ANDCONF with proper arguments. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h index dd093ea..962a062 100644 --- a/include/linux/inetdevice.h +++ b/include/linux/inetdevice.h @@ -78,9 +78,7 @@ static inline void ipv4_devconf_setall(struct in_device *in_dev) (max(IPV4_DEVCONF_ALL(attr), IN_DEV_CONF_GET((in_dev), attr))) #define IN_DEV_FORWARD(in_dev) IN_DEV_CONF_GET((in_dev), ...
Dec 7, 9:19 am 2007
Denis V. Lunev
[PATCH 2.6.25 3/3] ipv4: last default route is a fib tab ...
ipv4: last default route is a fib table property Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> --- include/net/ip_fib.h | 1 + net/ipv4/fib_hash.c | 16 ++++++++-------- net/ipv4/fib_trie.c | 18 +++++++++--------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 690fb4d..d70b9b4 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h @@ -141,6 +141,7 @@ ...
Dec 7, 9:11 am 2007
Denis V. Lunev
[PATCH 2.6.25 2/3] ipv4: unify assignment of fi to fib_result
ipv4: unify assignment of fi to fib_result Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> --- net/ipv4/fib_hash.c | 19 ++++--------------- net/ipv4/fib_lookup.h | 10 ++++++++++ net/ipv4/fib_trie.c | 19 ++++--------------- 3 files changed, 18 insertions(+), 30 deletions(-) diff --git a/net/ipv4/fib_hash.c b/net/ipv4/fib_hash.c index 76bb7fd..a52b570 100644 --- a/net/ipv4/fib_hash.c +++ b/net/ipv4/fib_hash.c @@ -315,10 +315,7 ...
Dec 7, 9:10 am 2007
Denis V. Lunev
[PATCH 2.6.25 1/3] ipv4: no need pass pointer to a defau ...
ipv4: no need pass pointer to a default into fib_detect_death Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> --- net/ipv4/fib_hash.c | 4 ++-- net/ipv4/fib_lookup.h | 2 +- net/ipv4/fib_semantics.c | 6 +++--- net/ipv4/fib_trie.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/net/ipv4/fib_hash.c b/net/ipv4/fib_hash.c index 30ff657..76bb7fd 100644 --- a/net/ipv4/fib_hash.c +++ ...
Dec 7, 9:09 am 2007
Paul Moore
IPsec replay sequence number overflow behavior? (RFC4303 ...
Hello all, As part of the IPv6 "gap analysis" that the Linux Foundation is currently doing I've been looking at the IPsec auditing requirements as defined in RFC4303 and I came across some odd behavior regarding SA sequence number overflows ... RFC4303 states the following: 3.3.3. Sequence Number Generation The sender's counter is initialized to 0 when an SA is established. The sender increments the sequence number (or ESN) counter for this SA and inserts the low-order ...
Dec 7, 9:04 am 2007
Daniel Lezcano
[patch 1/3][IPV6]: create route6 proc init-fini functions
Make the proc creation/destruction to be a separate function. That allows to remove the #ifdef CONFIG_PROC_FS in the init/fini function and make them more readable. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> --- net/ipv6/route.c | 58 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 18 deletions(-) Index: net-2.6.25/net/ipv6/route.c =================================================================== --- ...
Dec 7, 6:13 am 2007
Daniel Lezcano
[patch 2/3][IPV6]: remove ifdef in route6 for xfrm6
The following patch create the usual static inline functions to disable the xfrm6_init and xfrm6_fini function when XFRM is off. That's allow to remove some ifdef and make the code a little more clear. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> --- include/net/xfrm.h | 16 +++++++++++++--- net/ipv6/route.c | 7 +------ 2 files changed, 14 insertions(+), 9 deletions(-) Index: ...
Dec 7, 6:13 am 2007
Daniel Lezcano
[patch 0/3][IPV6]: remove ifdef in route6 init/fini functions
The route6 init function is a little difficult to read because it contains a lot of ifdef. The patchset redefines the usual static inline functions when the code is to be disabled by configuration, so we can call the code without taking care of the config option in the init function. -- --
Dec 7, 6:13 am 2007
YOSHIFUJI Hideaki /
Re: [patch 0/3][IPV6]: remove ifdef in route6 init/fini ...
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> --yoshfuji --
Dec 7, 8:37 am 2007
Daniel Lezcano
[patch 3/3][IPV6]: route6 remove ifdef for fib_rules
The patch defines the usual static inline functions when the code is disabled for fib6_rules. That's allow to remove some ifdef in route.c file and make the code a little more clear. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> --- include/net/ip6_fib.h | 12 +++++++++++- net/ipv6/route.c | 7 +------ 2 files changed, 12 insertions(+), 7 deletions(-) Index: net-2.6.25/include/net/ip6_fib.h =================================================================== --- ...
Dec 7, 6:13 am 2007
Pavel Emelyanov
[PATCH net-2.6.25 3/3]sysctl: make sysctl_somaxconn per- ...
Just move the variable on the struct net and adjust its usage. Others sysctls from sys.net.core table are more difficult to virtualize (i.e. make them per-namespace), but I'll look at them as well a bit later. Signed-off-by: Pavel Emelyanov <xemul@oenvz.org> --- diff --git a/include/linux/socket.h b/include/linux/socket.h index eb5bdd5..bd2b30a 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h @@ -24,7 +24,6 @@ struct __kernel_sockaddr_storage { #include ...
Dec 7, 6:12 am 2007
Pavel Emelyanov Dec 7, 6:10 am 2007
Pavel Emelyanov
[PATCH net-2.6.25 1/3]sysctl: make the sys.net.core sysc ...
Making them per-namespace is required for the following two reasons: First, some ctl values have a per-namespace meaning. Second, making them writable from the sub-namespace is an isolation hole. So I introduce the pernet operations to create these tables. For init_net I use the existing statically declared tables, for sub-namespace they are duplicated and the write bits are removed from the mode. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git ...
Dec 7, 6:07 am 2007
David Howells
[PATCH] AF_RXRPC: Add a missing goto
Add a missing goto to error handling in the RXKAD security module for AF_RXRPC. Signed-off-by: David Howells <dhowells@redhat.com> --- net/rxrpc/rxkad.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net/rxrpc/rxkad.c b/net/rxrpc/rxkad.c index e09a95a..8e69d69 100644 --- a/net/rxrpc/rxkad.c +++ b/net/rxrpc/rxkad.c @@ -1021,6 +1021,7 @@ static int rxkad_verify_response(struct rxrpc_connection *conn, abort_code = RXKADINCONSISTENCY; if (version != ...
Dec 7, 4:23 am 2007
David Miller
Re: [PATCH] AF_RXRPC: Add a missing goto
From: David Howells <dhowells@redhat.com> Applied, thanks David. --
Dec 7, 5:31 am 2007
Patrick McHardy
Re: [PATCH][VLAN] Merge tree equal tails in vlan_skb_recv
I already have something similar queued, but your patch is a nice cleanup on top. I'll merge it into my tree and send it out after some testing, hopefully today. --
Dec 7, 3:25 am 2007
Pavel Emelyanov Dec 7, 3:22 am 2007
Pavel Emelyanov
[PATCH net-2.6.25] Remove unused devconf macros
The SNMP_INC_STATS_OFFSET_BH is used only by ICMP6_INC_STATS_OFFSET_BH. The ICMP6_INC_STATS_OFFSET_BH is unused. Can we drop them? Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git a/include/net/ipv6.h b/include/net/ipv6.h index a84f3f6..38df94b 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -143,14 +143,6 @@ DECLARE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics); #define ICMP6_INC_STATS_BH(idev, field) _DEVINC(icmpv6, _BH, idev, field) #define ...
Dec 7, 3:16 am 2007
Pavel Emelyanov
[PATCH][IPV4] Swap the ifa allocation with the"ipv4_devc ...
According to Herbert, the ipv4_devconf_setall should be called only when the ifa is added to the device. However, failed ifa allocation may bring things into inconsistent state. Move the call to ipv4_devconf_setall after the ifa allocation. Fits both net-2.6 (with offsets) and net-2.6.25 (cleanly). Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 0b5f042..1c3e20c 100644 --- a/net/ipv4/devinet.c +++ ...
Dec 7, 2:22 am 2007
Jay Vosburgh
[PATCH 2/8] bonding: Return nothing for not applicable values
From: Wagner Ferenc <wferi@niif.hu> From: Wagner Ferenc <wferi@niif.hu> 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 efficient and shorter to code from both sides. Signed-off-by: Ferenc Wagner <wferi@niif.hu> Acked-by: Jay Vosburgh ...
Dec 7, 12:40 am 2007
Jay Vosburgh Dec 7, 12:40 am 2007
Jay Vosburgh
[PATCH 7/8] bonding: Add new layer2+3 hash for xor/802.3 ...
Add new hash for balance-xor and 802.3ad modes. Originally submitted by "Glenn Griffin" <ggriffin.kernel@gmail.com>; modified by Jay Vosburgh to move setting of hash policy out of line, tweak the documentation update and add version update to 3.2.2. Glenn's original comment follows: Included is a patch for a new xmit_hash_policy for the bonding driver that selects slaves based on MAC and IP information. This is a middle ground between what currently exists in the layer2 only policy ...
Dec 7, 12:40 am 2007
Jay Vosburgh
[PATCH 6/8] bonding: Fix time comparison
From: David Sterba <dsterba@suse.cz> From: David Sterba <dsterba@suse.cz> Use macros for comparing jiffies. Jiffies' wrap caused missed events and hangs. Module reinsert was needed to make bonding work again. Signed-off-by: David Sterba <dsterba@suse.cz> Acked-by: Jay Vosburgh <fubar@us.ibm.com> --- drivers/net/bonding/bond_main.c | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/net/bonding/bond_main.c ...
Dec 7, 12:40 am 2007
Jeff Garzik
Re: [PATCH 1/8] bonding: Remove trailing NULs from sysfs ...
applied 1-8 to #upstream-fixes Your script is duplicating the "From: " line twice --
Dec 7, 1:02 pm 2007
Jay Vosburgh
[PATCH 4/8] bonding: Coding style: break line after the ...
From: Wagner Ferenc <wferi@niif.hu> From: Wagner Ferenc <wferi@niif.hu> Adhere to coding style: break line after the if condition Signed-off-by: Ferenc Wagner <wferi@niif.hu> Acked-by: Jay Vosburgh <fubar@us.ibm.com> --- 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_sysfs.c +++ ...
Dec 7, 12:40 am 2007
Jay Vosburgh
[PATCH 5/8] bonding: Allow setting and querying xmit pol ...
From: Wagner Ferenc <wferi@niif.hu> From: Wagner Ferenc <wferi@niif.hu> 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 <wferi@niif.hu> Acked-by: Jay Vosburgh <fubar@us.ibm.com> --- drivers/net/bonding/bond_sysfs.c | 21 +++------------------ 1 files changed, 3 insertions(+), 18 deletions(-) diff --git ...
Dec 7, 12:40 am 2007
Jay Vosburgh
[PATCH 8/8] bonding: Fix race at module unload
Fixes a race condition in module unload. Without this change, workqueue events may fire while bonding data structures are partially freed but before bond_close() is invoked by unregister_netdevice(). Update version to 3.2.3. Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> --- drivers/net/bonding/bond_main.c | 43 ++++++++++++++++++++------------------- drivers/net/bonding/bonding.h | 2 +- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git ...
Dec 7, 12:40 am 2007
Jay Vosburgh
[PATCH 3/8] bonding: Purely cosmetic: rename a local variable
From: Wagner Ferenc <wferi@niif.hu> From: Wagner Ferenc <wferi@niif.hu> 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 <wferi@niif.hu> Acked-by: Jay Vosburgh <fubar@us.ibm.com> --- drivers/net/bonding/bond_sysfs.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/bonding/bond_sysfs.c ...
Dec 7, 12:40 am 2007
Jay Vosburgh
[PATCH 1/8] bonding: Remove trailing NULs from sysfs int ...
From: Wagner Ferenc <wferi@niif.hu> From: Wagner Ferenc <wferi@niif.hu> Also remove trailing spaces from multivalued files. This fixes output like for example: $ od -c /sys/class/net/bond0/bonding/slaves 0000000 e t h - l e f t e t h - r i g 0000020 h t \n \0 0000025 It mostly entails deleting '+1'-s after sprintf() calls: the return value of sprintf is the number of characters printed, without the closing NUL, ie. exactly what the sysfs ...
Dec 7, 12:40 am 2007
Mitsuru Chinen
[PATCH] [IPv4] Add strict check for replying net unreach ...
The patch `Reply net unreachable ICMP message' had a bug. A route whose type is blockhole or prohibit type is treated as unreachable type. The case where err is set to ENETUNREACH should be that no route is found in the routing table only. Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com> --- net/ipv4/route.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 8a79f74..d2bc614 100644 --- a/net/ipv4/route.c +++ ...
Dec 6, 9:24 pm 2007
David Miller
Re: [PATCH] [IPv4] Add strict check for replying net unr ...
From: Mitsuru Chinen <mitch@linux.vnet.ibm.com> Applied, thanks. I'll probably combine this with your original change before I push these changes upstream. --
Dec 6, 11:41 pm 2007
Divy Le Ray
[PATCH 3/2] cxgb3 - Fix EEH, missing softirq blocking
From: Divy Le Ray <divy@chelsio.com> set_pci_drvdata() stores a pointer to the adapter, not the net device. Add missing softirq blocking in t3_mgmt_tx. Signed-off-by: Divy Le Ray <divy@chlelsio.com> --- drivers/net/cxgb3/cxgb3_main.c | 14 ++++---------- drivers/net/cxgb3/sge.c | 7 ++++++- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index d1aa777..0e3dcbf 100644 --- ...
Dec 6, 7:47 pm 2007
David Miller
Re: [PATCHES 0/7]: DCCP patches for 2.6.25
From: Arnaldo Carvalho de Melo <acme@redhat.com> Pulled and pushed out to net-2.6.25, thanks! --
Dec 6, 11:49 pm 2007
Jeff Garzik Dec 7, 2:17 pm 2007
Ramkrishna Vepa
RE: [PATCH] s2io: fix inconsistent hardware VLAN tagging ...
Jeff, This patch looks good. Please accept. --
Dec 7, 2:02 pm 2007
David Miller
Re: [SCTP] Bug fixes to the migrate/accept code path.
From: Vlad Yasevich <vladislav.yasevich@hp.com> Both patches applied to net-2.6, thanks Vlad! --
Dec 6, 11:51 pm 2007
David Miller
Re: [PATCH 14/20] net/ipv4/cipso_ipv4.c: use LIST_HEAD i ...
From: Denis Cheng <crquan@gmail.com> Applied. --
Dec 7, 1:49 am 2007
David Miller
Re: [PATCH 13/20] net/core/dev.c: use LIST_HEAD instead ...
From: Denis Cheng <crquan@gmail.com> Applied. --
Dec 7, 1:49 am 2007
David Miller
Re: [PATCH 2.6.25] net: move trie_local and trie_main in ...
From: "Denis V. Lunev" <den@openvz.org> Applied. --
Dec 7, 1:48 am 2007
David Miller
Re: [PATCH 2.6.25] Remove ip_fib_local_table and ip_fib_ ...
From: "Denis V. Lunev" <den@openvz.org> Applied, thanks. --
Dec 7, 1:46 am 2007
David Miller
Re: [patch 2/6] ipv6 - make xfrm6_init to return an error code
From: Daniel Lezcano <dlezcano@fr.ibm.com> Applied, thanks. --
Dec 7, 1:42 am 2007
David Miller
Re: [patch 1/6] ipv6 - make fib6_init to return an error code
From: Daniel Lezcano <dlezcano@fr.ibm.com> Applied. Please format your header subject lines as: [patch N/M] [IPV6]: Blah blah blah. Since this is what I edit them into anyways. Thanks. --
Dec 7, 1:41 am 2007
David Miller
Re: [patch 6/6] ipv6 - route6/fib6 : dont panic a kmem_c ...
From: Daniel Lezcano <dlezcano@fr.ibm.com> Also applied. --
Dec 7, 1:45 am 2007
David Miller
Re: [patch 4/6] ipv6 - make ip6_route_init to return an ...
From: Daniel Lezcano <dlezcano@fr.ibm.com> Applied, thanks. --
Dec 7, 1:43 am 2007
David Miller
Re: [patch 5/6] ipv6 - make af_inet6 to check ip6_route_ ...
From: Daniel Lezcano <dlezcano@fr.ibm.com> Applied, thanks! --
Dec 7, 1:44 am 2007
David Miller
Re: [patch 3/6] ipv6 - make fib6_rules_init to return an ...
From: Daniel Lezcano <dlezcano@fr.ibm.com> Applied, thanks. --
Dec 7, 1:43 am 2007
David Miller
Re: [PATCH][VLAN] Lost rtnl_unlock() in vlan_ioctl()
From: Patrick McHardy <kaber@trash.net> Applied and I'll push to -stable once Linus pulls it in. --
Dec 6, 11:52 pm 2007
David Miller
Re: [PATCH 2.6.25] multiple namespaces in the all dst_if ...
From: "Denis V. Lunev" <den@openvz.org> Applied, thanks. --
Dec 7, 1:39 am 2007
David Miller
Re: [Patch] net/xfrm/xfrm_policy.c: Some small improvements
From: Richard Knutsson <ricknu-0@student.ltu.se> When you say "int found;" is there any doubt in your mind that this integer is going to hold a 1 or a 0 depending upon whether we "found" something? That's the problem I have with these kinds of patches, they do not increase clarity, it's just pure mindless edits. In new code, fine, use booleans if you want. I would even accept that it helps to change to boolean for arguments to functions that are global in scope. But not for function ...
Dec 6, 8:22 pm 2007
Richard Knutsson
Re: [Patch] net/xfrm/xfrm_policy.c: Some small improvements
But is there not a good thing if also the compiler knows + names are Oh, I see your point now. Believed it to be yet another 'booleans is not C idiom'. Sorry about the noise Richard Knutsson --
Dec 7, 8:41 am 2007
Ilpo Järvinen
Re: 2.6.24-rc4-mm1
Yeah, this (very likely) due to the new SACK processing (in net-2.6.25). I'll look what could go wrong with fack_count calculations, most likely it's the reason (I've found earlier one out-of-place retransmission segment in one of my test case which already indicated that there's something incorrect with them but didn't have time to debug it yet). Thanks for report. Some info about how easily you can reproduce & couple of sentences about the test case might be useful later on when ...
Dec 7, 6:16 am 2007
Mitsuru Chinen
Re: [PATCH] [IPv4] Reply net unreachable ICMP message
On Thu, 6 Dec 2007 09:47:33 +0100 Oh, excuse me. I did mistake. fib_rules_lookup() replies -ESRCH when no route is found. The case it replies -ENETUNREACH is that user adds unreachable route. However, if the err value is override with no check, a blackhole or prohibit route is treated as a unreachable route. As the patch is already applied, I will send another patch to add a check for it. Thank you very much for pointing out the issue! Best Regards, ---- Mitsuru Chinen ...
Dec 6, 9:23 pm 2007
Jeff Garzik Dec 7, 1:09 pm 2007
Jeff Garzik Dec 7, 1:03 pm 2007
Stephen Hemminger
[PATCH] sky2: RX lockup fix
I'm using a Marvell 88E8062 on a custom PPC64 blade and ran into RX lockups while validating the sky2 driver. The receive MAC FIFO would become stuck during testing with high traffic. One port of the 88E8062 would lockup, while the other port remained functional. Re-inserting the sky2 module would not fix the problem - only a power cycle would. I looked over Marvell's most recent sk98lin driver and it looks like they had a "workaround" for the Yukon XL that the sky2 doesn't have yet. The ...
Dec 7, 4:22 pm 2007
Jeff Garzik Dec 7, 1:02 pm 2007
Jeff Garzik
Re: [PATCH 2/2] cxgb3 - Parity initialization for T3C adapters
Ah... you need to tell me these things. I looked for a kernel version in your messages but did not see one. git fetch -f $NETDEV_URL upstream:upstream copies the latest upstream branch from netdev-2.6.git, and stores it as your local upstream branch. You may do the same for #upstream-fixes too. Jeff --
Dec 7, 4:26 pm 2007
Divy Le Ray
Re: [PATCH 2/2] cxgb3 - Parity initialization for T3C adapters
Hi Jeff, I noticed that you applied the first one of this 3 patches series to the #upstream-fixes branch. These patches are intended to the #upstream (2.6.25) branch, as they are built on top of the last 10 patches committed - 9 from me, and the white space clean up (thanks!). May be this is the reason why they did not apply. On this topic, I have a question: how do I get to see all the netdev-2.6 branches ? After cloning a free netdev-2.6 tree, 'git branch' shows only the master ...
Dec 7, 3:47 pm 2007
Jeff Garzik Dec 7, 1:02 pm 2007
Divy Le Ray
Re: [PATCH 0/2] cxgb3 - driver update
Jeff, I posted a third patch to fix the EEH code and add a missing softirq blocking call. Cheers, Divy --
Dec 6, 7:50 pm 2007
Jeff Garzik Dec 7, 1:03 pm 2007
Ilpo Järvinen
Re: TCP event tracking via netlink...
On Thu, 6 Dec 2007, David Miller wrote: > From: "Ilpo_J
Dec 7, 9:43 am 2007
David Miller
Re: TCP event tracking via netlink...
From: Stephen Hemminger <shemminger@linux-foundation.org> I know about this, I'm just curious what exactly Ilpo is using :-) --
Dec 6, 11:51 pm 2007
Jeff Garzik Dec 7, 1:09 pm 2007
Stefan Rompf
Re: sockets affected by IPsec always block (2.6.23)
David - I'm aware of this, the discussion is which behaviour is ok. Let's go back to a real life example. I've already researched that the squid web proxy has a poll() based main loop doing nonblocking connects, may be with multiple threads. Situation: One user wants to access a web page that needs IPSEC. The SA takes 30 seconds to come up. a) Non-blocking connect is respected: SYN packets during the first 30 seconds will be dropped as you said. Connection can be completed on the next ...
Dec 7, 2:29 am 2007
David Miller
Re: sockets affected by IPsec always block (2.6.23)
From: Stefan Rompf <stefan@loplof.de> If IPSEC takes a long time to resolve, and we don't block, the connect() can hard fail (we will just keep dropping the outgoing SYN packet send attempts, eventually hitting the retry limit) in cases where if we did block it would not fail (because we wouldn't send the first SYN until IPSEC resolved). --
Dec 6, 8:20 pm 2007
Andreas Henriksson
Re: [PATCH] iproute2: support dotted-quad netmask notation.
Updated patch, added your netmask validation code but without the check that made 0.0.0.0 (default) and 255.255.255.255 (one address) invalid netmasks as they are permitted in CIDR format. Signed-off-by: Andreas Henriksson <andreas@fatal.se> diff --git a/lib/utils.c b/lib/utils.c index 4c42dfd..b4a6125 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -47,6 +47,41 @@ int get_integer(int *val, const char *arg, int base) return 0; } +/* a valid netmask must be 2^n - 1 (n = 1..31) ...
Dec 7, 4:41 pm 2007
Ilpo Järvinen
Re: [RFC] TCP illinois max rtt aging
On Fri, 7 Dec 2007, David Miller wrote: > From: "Ilpo_J
Dec 7, 6:05 am 2007
Lachlan Andrew
Re: [RFC] TCP illinois max rtt aging
Greetings Ilpo, We had been using one of your earlier patches, and still had the problem. I think you've cured the problem with SACK itself, but there still seems to be something taking a lot of CPU while recovering from the loss. It is possible that it was to do with web100 which we have also been running, but I cut out most of the statistics from that and still had problems. Cheers, Lachlan -- Lachlan Andrew Dept of Computer Science, Caltech 1200 E California Blvd, Mail Code ...
Dec 6, 8:27 pm 2007
Ilpo Järvinen Dec 7, 11:27 am 2007
Ilpo Järvinen
Re: [RFC] TCP illinois max rtt aging
On Thu, 6 Dec 2007, Lachlan Andrew wrote: > On 04/12/2007, Ilpo J
Dec 7, 4:05 am 2007
David Miller
Re: [RFC] TCP illinois max rtt aging
From: "Ilpo_Järvinen" <ilpo.jarvinen@helsinki.fi> Yes, it's the classic problem. But it ought to be at least partially masked when TSO is in use, because we'll only process a handful of SKBs. The more effectively TSO batches, the less work clean_rtx_queue() will do. When not doing TSO the behavior is super-stupid, we bump reference counts on the same page multiple times while running over the SKBs since consequetive SKBs cover data in different spans of the same page. The core issue is ...
Dec 7, 5:41 am 2007
David Woodhouse
Re: [PATCH 2.6.24-rc3] Fix /proc/net breakage
(commit 2b1e300a9dfc3196ccddf6f1d74b91b7af55e416) This seems to have broken the use of /proc/bus/usb as a mountpoint. It always appears empty now, whatever's supposed to be mounted there. -- dwmw2 --
Dec 6, 9:51 pm 2007
Andrew Morton
Re: [PATCH 2.6.24-rc3] Fix /proc/net breakage
Yes. Denis and Eric are tossing around competing patches but afaik nobody is happy with any of them. Guys, could we get this sorted soonish please? --
Dec 7, 3:23 am 2007
Denis V. Lunev
Re: [PATCH 2.6.24-rc3] Fix /proc/net breakage
Andrew, I become too relaxed after receiving "Tested-by: Giacomo Catenazzi <cate@debian.org>" Eric, I believe that reverting an original behavior is better than your new one as - you introduce search into the depth by calling have_submounts(dentry) during revalidation for all(!) /proc dentries - your shadowing behavior will be broken if you'll mount something in the depth of shadowed tree (this can be done as a DoS attempt) As a last minute call, may be it will be better to pin network ...
Dec 7, 4:11 am 2007
Ben Dooks
Re: [patch 07/22] NET: DM9000: Use msleep() instead of u ...
Yes. This is not the first driver that has had this problem, see the sm501 as another example. -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes' --
Dec 7, 8:42 am 2007
Ben Dooks
Re: [patch 22/22] NET: DM9000: Show the MAC address sour ...
Is reposting here ok to get these queued for the next kernel release, or are there people to CC: for this? -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes' --
Dec 7, 11:30 am 2007
Ben Dooks
Re: [patch 06/22] NET: DM9000: Use kthread to probe MII ...
I like the fact that the use of kthread shows the user how much cpu time is being used by the execution of monitoring the phy. How badly do people object to using a kthread? -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes' --
Dec 7, 11:33 am 2007
previous daytodaynext day
December 6, 2007December 7, 2007December 8, 2007