linux-netdev mailing list

FromSubjectsort iconDate
David Miller
btusb suspend/resume bug...
Marcel, others, please bring some kind of closure to this regression list entry: Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11442 Subject : btusb hibernation/suspend breakage in current -git Submitter : Rafael J. Wysocki <rjw@sisk.pl> Date : 2008-08-25 11:37 (19 days old) References : http://marc.info/?l=linux-bluetooth&m=121966402012074&w=4 Handled-By : Oliver Neukum <oliver@neukum.org> Patch : http://marc.info/?l=linux-bluetooth&m=121967226027323&w=4 There is a patch, it ...
Sep 16, 3:51 pm 2008
Krzysztof Halasa
Re: ixp4xx_hss: 4E1
Well, I guess I just need network interfaces, not char devices. PPP can of course create network interfaces, but it supports only PPP protocol (and interface to generic PPP is in the works). Now the thing supports Cisco HDLC, PPP, Frame-Relay, Ethernet-in-HDLC and X.25/LAPB. -- Krzysztof Halasa --
Sep 16, 3:49 pm 2008
David Miller
nvidia driver fix
Jeff please make sure the following makes it's way into your next bug fix pull request to me as it's fixes a regression list entry: http://marc.info/?l=linux-kernel&m=121894416718874&w=4 Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11358 Subject : net: forcedeth call restore mac addr in nv_shutdown path Submitter : Yinghai Lu <yhlu.kernel@gmail.com> Date : 2008-08-17 3:30 (27 days old) References : http://marc.info/?l=linux-kernel&m=121894389018584&w=4 Handled-By : Yinghai Lu ...
Sep 16, 3:38 pm 2008
Andrew Victor
[PATCH] at91_ether: Add Micrel KSZ8041 PHY support
Add support for Micrel's KSZ8041 PHY in the Atmel AT91RM9200 Ethernet driver. The PHY is similar to the KS8721 (configuration registers differ a bit, like LED function and a new PHY Control 2 register and LinkMD control/status register, which aren't used by the at91_ether driver anyway). The chip has a different pin layout so it's no good for a drop in replacement anyway. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Andrew Victor <linux@maxim.org.za>
Sep 16, 1:53 pm 2008
Andrew Victor
[PATCH] at91_ether: late collistions are counted twice ( ...
According to the at91rm9200 datasheet, table 36-6, late collisions (AT91_EMAC_LCOL) are already counted in the collision register (in scol, mcol or ecol , depending on the type of error). So don't count them twice in stats.collisions. Signed-off-by: Marc Pignat <marc.pignat@hevs.ch> Signed-off-by: Andrew Victor <linux@maxim.org.za>
Sep 16, 1:48 pm 2008
Andrew Victor
[PATCH] AT91: Remove CRC on incoming frame
In the Atmel AT91RM9200 Ethernet driver, remove the 4-byte CRC from incoming frame before passing it to the upper layers. Signed-off-by: Boris Astardzhiev <boris_astardzhiev@smartcom.bg> Signed-off-by: Andrew Victor <linux@maxim.org.za>
Sep 16, 1:43 pm 2008
Stephen Hemminger
[PATCH] hpplus: fix build regression
This fixes kernel regression for 2.6.27-rc in http://bugzilla.kernel.org/show_bug.cgi?id=11547 The change to split 8390 into old isa and non-isa versions overlooked this driver. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> --- a/drivers/net/hp-plus.c 2008-09-16 12:26:18.000000000 -0700 +++ b/drivers/net/hp-plus.c 2008-09-16 12:28:19.000000000 -0700 @@ -139,7 +139,7 @@ static int __init do_hpp_probe(struct ne #ifndef MODULE struct net_device * __init ...
Sep 16, 1:04 pm 2008
Ron Mercer
[PATCH 0/5][RFC]qlge: New Qlogic 10Gb Ethernet Driver
Jeff, The following patches are for further RFC for the Qlogic 10Gb driver. I believe this address all outstanding issues from RFC. 1) Get rid of millisecond register waits during open. 2) Implemented flash reading for MAC address. 3) Clean up error path for open() and close(). 4) Add Ron Mercer as maintainer. 5) Get rid of all debug junk. 6) Added ethtool ops get_settings() and get_link(). 7) Clean up and complete mgmnt port xface file qlge_mpi.c. Regards, Ron Mercer Qlogic ...
Sep 16, 11:52 am 2008
Victor NOEL
zd1211rw (2.6.26.5) and ipv6
Hello, After a little investigation (see after), I came to the conclusion there was something strange with the zd1211rw wifi driver (or maybe mac80211-based ones like it happened in the past ?) and ipv6 (at least with autoconfiguration). I am on Archlinux with kernel 2.6.26.5 kernel behind a router connecting me to internet by ipv4 and ipv6. After a little discussion with John W. Linville on irc, he redirected me to this mailing list. The idea is that I connect to a wireless network ...
Sep 16, 10:50 am 2008
Arjan van de Ven
Warning/Oops report of the week of September 16th, 2008
This is the first report where I've dropped oopses that happened to 2.6.25 or earlier kernels. I've also changed the format of the report to split it in "fixed" and "not yet fixed" sections; I hope that makes the report more useful for developers. This week, a total of 1730 oopses and warnings have been reported, compared to 626 reports in the previous week. Per file ...
Sep 16, 9:22 am 2008
Andrew Morton
Re: [Bugme-new] [Bug 11571] New: u32_classify Kernel Panic
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). --
Sep 16, 9:15 am 2008
Julius Volz
Re: [PATCH] ipvs: change some __constant_htons() to htons()
Thanks. I somehow missed that in the patch series that got in, although you mentioned it before, sorry! Julius -- Julius Volz - Corporate Operations - SysOps Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1 --
Sep 16, 8:31 am 2008
Brian Haley
[PATCH] ipvs: change some __constant_htons() to htons()
Change __contant_htons() to htons() in the IPVS code when not in an initializer. -Brian Signed-off-by: Brian Haley <brian.haley@hp.com> ---
Sep 16, 8:11 am 2008
Rémi
[PATCH 00/14] [RFC] Phonet protocol stack
Hello, This patch series introduces support for PhoNet, the "Phone Network protocol". This protocol is the primary interface to Nokia cellular modem engines. We are integrating it to the Linux kernel in order to support HSPA cellular data connectivity on the Maemo Software platform. This patchset provides a simple datagram socket independent of the underlying hardware (network interface) through which the modem is attached. We are in the process of contributing a lower-layer driver ...
Sep 16, 7:57 am 2008
Marcel Holtmann
Re: [PATCH 00/14] [RFC] Phonet protocol stack
We are using PhoNet over Bluetooth and IrDA inside the Gnokii project and if we have a common PhoNet stack inside the Linux kernel that is supported by Nokia, I do wanna use that. What are your plans for this? Regards Marcel --
Sep 16, 1:09 pm 2008
Rémi Denis-Courmont
[PATCH 02/14] Phonet: add CONFIG_PHONET
Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- net/phonet/Kconfig | 11 +++++++++++ net/phonet/Makefile | 3 +++ 2 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 net/phonet/Kconfig create mode 100644 net/phonet/Makefile diff --git a/net/phonet/Kconfig b/net/phonet/Kconfig new file mode 100644 index 0000000..02f8921 --- /dev/null +++ b/net/phonet/Kconfig @@ -0,0 +1,11 @@ +# +# Phonet protocol +# + +config PHONET + tristate "Phonet ...
Sep 16, 8:08 am 2008
Rémi Denis-Courmont
[PATCH 11/14] Phonet: provide MAC header operations
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/linux/if_phonet.h | 2 ++ net/phonet/af_phonet.c | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 0 deletions(-) diff --git a/include/linux/if_phonet.h b/include/linux/if_phonet.h index 22df25f..94bc59b 100644 --- a/include/linux/if_phonet.h +++ b/include/linux/if_phonet.h @@ -12,3 +12,5 @@ /* 6 bytes header + 65535 bytes payload */ #define PHONET_MAX_MTU 65541 #define ...
Sep 16, 8:08 am 2008
Rémi Denis-Courmont
[PATCH 08/14] Phonet: receive path socket lookup
This delivers received packet to the right socket, if any. Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/net/phonet/phonet.h | 1 + net/phonet/af_phonet.c | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/include/net/phonet/phonet.h b/include/net/phonet/phonet.h index e0fa080..8e7e42d 100644 --- a/include/net/phonet/phonet.h +++ b/include/net/phonet/phonet.h @@ -35,6 +35,7 @@ */ struct pn_sock { struct ...
Sep 16, 8:08 am 2008
Arnaldo Carvalho de Melo Sep 16, 9:52 am 2008
Arnaldo Carvalho de Melo Sep 16, 9:06 am 2008
Rémi Denis-Courmont
[PATCH 03/14] Phonet: build the net/phonet/ directory
Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- net/Kconfig | 1 + net/Makefile | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/Kconfig b/net/Kconfig index d87de48..9103a16 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -232,6 +232,7 @@ source "net/can/Kconfig" source "net/irda/Kconfig" source "net/bluetooth/Kconfig" source "net/rxrpc/Kconfig" +source "net/phonet/Kconfig" config FIB_RULES bool diff --git a/net/Makefile ...
Sep 16, 8:08 am 2008
Rémi Denis-Courmont
[PATCH 13/14] Phonet: emit errors when a packet cannot b ...
When there is no listener socket for a received packet, send an error back to the sender. Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- net/phonet/af_phonet.c | 82 +++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 78 insertions(+), 4 deletions(-) diff --git a/net/phonet/af_phonet.c b/net/phonet/af_phonet.c index c18664d..3962969 100644 --- a/net/phonet/af_phonet.c +++ b/net/phonet/af_phonet.c @@ -134,7 +134,7 @@ ...
Sep 16, 8:08 am 2008
Rémi Denis-Courmont
[PATCH 12/14] Phonet: proc interface for port range
Phonet endpoints are bound to individual ports. This provides a /proc/sys/net/phonet (or sysctl) interface for selecting the range of automatically allocated ports (much like the ip_local_port_range with IPv4). Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/net/phonet/phonet.h | 3 + net/phonet/Makefile | 1 + net/phonet/af_phonet.c | 3 + net/phonet/socket.c | 3 +- net/phonet/sysctl.c | 113 ...
Sep 16, 8:08 am 2008
Rémi Denis-Courmont
[PATCH 07/14] Phonet: common socket glue
This provides the socket API for the Phonet protocols family. Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/linux/phonet.h | 3 + include/net/phonet/phonet.h | 20 +++ net/phonet/Makefile | 1 + net/phonet/socket.c | 312 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 336 insertions(+), 0 deletions(-) create mode 100644 net/phonet/socket.c diff --git a/include/linux/phonet.h b/include/linux/phonet.h index ...
Sep 16, 8:08 am 2008
Rémi Denis-Courmont
[PATCH 04/14] Phonet: PF_PHONET protocol family support
This is the basis for the Phonet protocol families, and introduces the ETH_P_PHONET packet type and the PF_PHONET socket family. Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/net/phonet/phonet.h | 71 ++++++++++++++ net/phonet/Makefile | 3 +- net/phonet/af_phonet.c | 218 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 291 insertions(+), 1 deletions(-) create mode 100644 include/net/phonet/phonet.h create mode 100644 ...
Sep 16, 8:08 am 2008
Arnaldo Carvalho de Melo
Re: [PATCH 04/14] Phonet: PF_PHONET protocol family support
Without looking in detail, first reaction is: don't we have sk_type in struct sock? Can't it be used or what you would have in ponet_protocol->sock_type be mapped to it? Here, the mapping, and we even have struct socket sock->type in addition I guess this will be done in the next patches, interesting way of --
Sep 16, 9:17 am 2008
Rémi Denis-Courmont
[PATCH 09/14] Phonet: allocate and initialize new sockets
Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/net/phonet/phonet.h | 1 + net/phonet/af_phonet.c | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/include/net/phonet/phonet.h b/include/net/phonet/phonet.h index 8e7e42d..1131833 100644 --- a/include/net/phonet/phonet.h +++ b/include/net/phonet/phonet.h @@ -81,6 +81,7 @@ void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) /* Protocols ...
Sep 16, 8:08 am 2008
Arnaldo Carvalho de Melo Sep 16, 9:53 am 2008
Arnaldo Carvalho de Melo
Re: [PATCH 05/14] Phonet: network device and address handling
Please look at net/ipv4/tcp_minisocks.c to see how tcp_death_row is initialized, that way you don't have to first initialize it to zeros (BSS as it is static and uninitialized) and then, at phonet_device_init Perhaps a phone_for_each_dev() macro like for_each_netdev() in minor nitpick: if (pna != NULL) INIT_LIST_HEAD(&pna->list); Not symetric, i.e. you have a list_add operation and not a list_del, only one that in addition to removing from the list also destroys the Why not ...
Sep 16, 9:41 am 2008
Rémi Denis-Courmont
[PATCH 01/14] Phonet global definitions
Common global definitions for Phonet. Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/linux/if_ether.h | 1 + include/linux/if_phonet.h | 14 +++++ include/linux/phonet.h | 133 +++++++++++++++++++++++++++++++++++++++++++++ include/linux/rtnetlink.h | 4 ++ include/linux/socket.h | 4 +- net/core/sock.c | 9 ++- 6 files changed, 161 insertions(+), 4 deletions(-) create mode 100644 include/linux/if_phonet.h create mode 100644 ...
Sep 16, 8:08 am 2008
Rémi Denis-Courmont
[PATCH 14/14] Phonet: kernel documentation
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> --- Documentation/networking/phonet.txt | 111 +++++++++++++++++++++++++++++++++++ 1 files changed, 111 insertions(+), 0 deletions(-) create mode 100644 Documentation/networking/phonet.txt diff --git a/Documentation/networking/phonet.txt b/Documentation/networking/phonet.txt new file mode 100644 index 0000000..f3c72e0 --- /dev/null +++ b/Documentation/networking/phonet.txt @@ -0,0 +1,111 @@ +Linux Phonet protocol ...
Sep 16, 8:08 am 2008
Arnaldo Carvalho de Melo
Re: [PATCH 13/14] Phonet: emit errors when a packet cann ...
Try not to access skb->data directly, probably you would be better off --
Sep 16, 10:11 am 2008
Rémi Denis-Courmont
[PATCH 06/14] Phonet: Netlink interface
This provides support for configuring Phonet addresses, notifying Phonet configuration changes, and dumping the configuration. Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/net/phonet/phonet.h | 1 + net/phonet/Makefile | 1 + net/phonet/af_phonet.c | 1 + net/phonet/pn_netlink.c | 240 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 243 insertions(+), 0 deletions(-) create mode 100644 net/phonet/pn_netlink.c diff ...
Sep 16, 8:08 am 2008
Pavel Emelyanov
Re: [PATCH 09/14] Phonet: allocate and initialize new sockets
This turns to be a little bit messy wrt net namespaces. Look - you allow for sockets to be created (and isolated from each other) in each namespace, the list of devices is global, whilst the sysctls are visible in init_net only... I'd propose to either make this protocol namespaces aware from the very beginning or to explicitly prohibit any operations with it in the non-init netns not to forget to fix it in the future (just like it was done for all the protocols and is still true for most of ...
Sep 16, 11:42 am 2008
Rémi Denis-Courmont
[PATCH 05/14] Phonet: network device and address handling
This provides support for adding Phonet addresses to and removing Phonet addresses from network devices. Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/net/phonet/pn_dev.h | 63 ++++++++++++ net/phonet/Makefile | 1 + net/phonet/af_phonet.c | 12 ++ net/phonet/pn_dev.c | 233 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 309 insertions(+), 0 deletions(-) create mode 100644 include/net/phonet/pn_dev.h create mode ...
Sep 16, 8:08 am 2008
Arnaldo Carvalho de Melo
Re: [PATCH 02/14] Phonet: add CONFIG_PHONET
I think you could expand this a bit, no? Telling in which platforms this would be used, i.e. nokia devices such as the N8x0 and not on a desktop with a Nokia modem attached, etc. Recently there were complaints about Kconfig help entries being too terse, lets not add more of these. - Arnaldo --
Sep 16, 9:06 am 2008
Rémi Denis-Courmont
[PATCH 10/14] Phonet: Phonet datagram transport protocol
This provides the basic SOCK_DGRAM transport protocol for Phonet. Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> --- include/net/phonet/phonet.h | 6 ++ net/phonet/Makefile | 1 + net/phonet/af_phonet.c | 108 +++++++++++++++++++++++ net/phonet/datagram.c | 198 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 313 insertions(+), 0 deletions(-) create mode 100644 net/phonet/datagram.c diff --git a/include/net/phonet/phonet.h ...
Sep 16, 8:08 am 2008
Arnaldo Carvalho de Melo
Re: [PATCH 07/14] Phonet: common socket glue
Why do this as a define and not like, say, tcp_sk(), that way you at least guarantee that you will not end up using some non-sock pointer See tcp_death_row on how to initialize it right here and not at some I guess it is a requirement that each protocol will provide an ioctl --
Sep 16, 9:50 am 2008
Arnaldo Carvalho de Melo
Re: [PATCH 10/14] Phonet: Phonet datagram transport protocol
Here you could just use: ph = (struct phonethdr *)skb_network_header(skb); or even just: ph = pn_hdr(skb); No need for __constant_htons(CONSTANT), htons will do the right thing --
Sep 16, 10:06 am 2008
Denis Joseph Barrow
[PATCH] hso reset_resume patch
Made usb_drivers reset_resume function point to hso_resume this fixes problems a usb reset is done when the network interface is left idle for a few minutes. Possibly reset_resume should initialise hardware more but this works in the common case. Signed-off-by: Denis Joseph Barrow <D.Barow@option.com> --- Index: linux-2.6.27-rc6/drivers/net/usb/hso.c =================================================================== --- linux-2.6.27-rc6.orig/drivers/net/usb/hso.c 2008-09-16 16:21:34.000000000 ...
Sep 16, 7:52 am 2008
Denis Joseph Barrow
[PATCH] hso for error -22 (-EINVAL) printk's
Added check for IFF_UP in hso_resume, this should eliminate -EINVAL (-22) errors caused from urb's being submitted twice, once by hso_resume & once in hso_net_open, if suspend/resume USB power saving mode is enabled Signed-off-by: Denis Joseph Barrow <D.Barow@option.com> --- Index: linux-2.6.27-rc6/drivers/net/usb/hso.c =================================================================== --- linux-2.6.27-rc6.orig/drivers/net/usb/hso.c 2008-09-16 16:17:11.000000000 +0200 +++ ...
Sep 16, 7:50 am 2008
Paul Moore
[RFC PATCH v6 16/16] netlabel: Add configuration support ...
Add the necessary NetLabel support for the new CIPSO mapping, CIPSO_V4_MAP_LOCAL, which allows full LSM label/context support. Signed-off-by: Paul Moore <paul.moore@hp.com> --- include/net/netlabel.h | 3 ++- net/netlabel/netlabel_cipso_v4.c | 41 ++++++++++++++++++++++++++++++++++++++ net/netlabel/netlabel_cipso_v4.h | 6 ++++-- net/netlabel/netlabel_kapi.c | 3 +++ 4 files changed, 50 insertions(+), 3 deletions(-) diff --git a/include/net/netlabel.h ...
Sep 16, 5:57 am 2008
Paul Moore
[RFC PATCH v6 14/16] netlabel: Changes to the NetLabel s ...
This patch provides support for including the LSM's secid in addition to the LSM's MLS information in the NetLabel security attributes structure. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: James Morris <jmorris@namei.org> --- include/net/netlabel.h | 2 +- security/selinux/ss/services.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/net/netlabel.h b/include/net/netlabel.h index 074cad4..d56517a 100644 --- ...
Sep 16, 5:57 am 2008
Paul Moore
[RFC PATCH v6 10/16] netlabel: Add network address selec ...
This patch extends the NetLabel traffic labeling capabilities to individual packets based not only on the LSM domain but the by the destination address as well. The changes here only affect the core NetLabel infrastructre, changes to the NetLabel KAPI and individial protocol engines are also required but are split out into a different patch to ease review. Signed-off-by: Paul Moore <paul.moore@hp.com> --- include/net/netlabel.h | 7 - net/netlabel/netlabel_addrlist.c | ...
Sep 16, 5:56 am 2008
Paul Moore
[RFC PATCH v6 15/16] cipso: Add support for native local ...
This patch accomplishes two minor tasks: add a new tag type for local labeling and rename the CIPSO_V4_MAP_STD define to CIPSO_V4_MAP_TRANS. The first change allows CIPSO to support full LSM labels/contexts, not just MLS attributes. The second change brings the mapping names inline with what userspace is using, compatibility is preserved since we don't actually change the value. Signed-off-by: Paul Moore <paul.moore@hp.com> --- include/net/cipso_ipv4.h | 13 +++-- ...
Sep 16, 5:57 am 2008
Paul Moore
[RFC PATCH v6 13/16] selinux: Cache NetLabel secattrs in ...
Previous work enabled the use of address based NetLabel selectors, which while highly useful, brought the potential for additional per-packet overhead when used. This patch attempts to mitigate some of that overhead by caching the NetLabel security attribute struct within the SELinux socket security structure. This should help eliminate the need to recreate the NetLabel secattr structure for each packet resulting in less overhead. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: James ...
Sep 16, 5:57 am 2008
Paul Moore
[RFC PATCH v6 06/16] selinux: Fix missing calls to netlb ...
At some point I think I messed up and dropped the calls to netlbl_skbuff_err() which are necessary for CIPSO to send error notifications to remote systems. This patch re-introduces the error handling calls into the SELinux code. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: James Morris <jmorris@namei.org> --- include/net/netlabel.h | 6 ++++-- net/netlabel/netlabel_kapi.c | 5 +++-- security/selinux/hooks.c | 19 +++++++++++++++---- ...
Sep 16, 5:56 am 2008
Paul Moore
[RFC PATCH v6 02/16] selinux: Correctly handle IPv4 pack ...
We did the right thing in a few cases but there were several areas where we determined a packet's address family based on the socket's address family which is not the right thing to do since we can get IPv4 packets on IPv6 sockets. This patch fixes these problems by either taking the address family directly from the packet. Signed-off-by: Paul Moore <paul.moore@hp.com> --- security/selinux/hooks.c | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git ...
Sep 16, 5:56 am 2008
Paul Moore
[RFC PATCH v6 01/16] selinux: Cleanup the NetLabel glue code
We were doing a lot of extra work in selinux_netlbl_sock_graft() what wasn't necessary so this patch removes that code. It also removes the redundant second argument to selinux_netlbl_sock_setsid() which allows us to simplify a few other functions. Signed-off-by: Paul Moore <paul.moore@hp.com> --- security/selinux/netlabel.c | 38 ++++++++++---------------------------- 1 files changed, 10 insertions(+), 28 deletions(-) diff --git a/security/selinux/netlabel.c ...
Sep 16, 5:55 am 2008
Paul Moore
[RFC PATCH v6 08/16] netlabel: Replace protocol/NetLabel ...
NetLabel has always had a list of backpointers in the CIPSO DOI definition structure which pointed to the NetLabel LSM domain mapping structures which referenced the CIPSO DOI struct. The rationale for this was that when an administrator removed a CIPSO DOI from the system all of the associated NetLabel LSM domain mappings should be removed as well; a list of backpointers made this a simple operation. Unfortunately, while the backpointers did make the removal easier they were a bit of a mess ...
Sep 16, 5:56 am 2008
Paul Moore
[RFC PATCH v6 12/16] selinux: Set socket NetLabel based ...
Previous work enabled the use of address based NetLabel selectors, which while highly useful, brought the potential for additional per-packet overhead when used. This patch attempts to solve that by applying NetLabel socket labels when sockets are connect()'d. This should alleviate the per-packet NetLabel labeling for all connected sockets (yes, it even works for connected DGRAM sockets). Signed-off-by: Paul Moore <paul.moore@hp.com> --- include/net/cipso_ipv4.h | 5 + ...
Sep 16, 5:57 am 2008
Paul Moore
[RFC PATCH v6 09/16] netlabel: Add a generic way to crea ...
Create an ordered IP address linked list mechanism similar to the core kernel's linked list construct. The idea behind this list functionality is to create an extensibile linked list ordered by IP address mask to ease the matching of network addresses. The linked list is ordered with larger address masks at the front of the list and shorter address masks at the end to facilitate overriding network entries with individual host or subnet entries. Signed-off-by: Paul Moore ...
Sep 16, 5:56 am 2008
Paul Moore
[RFC PATCH v6 04/16] selinux: Better local/forward check ...
It turns out that checking to see if skb->sk is NULL is not a very good indicator of a forwarded packet as some locally generated packets also have skb->sk set to NULL. Fix this by not only checking the skb->sk field but also the IP[6]CB(skb)->flags field for the IP[6]SKB_FORWARDED flag. While we are at it, we are calling selinux_parse_skb() much earlier than we really should resulting in potentially wasted cycles parsing packets for information we might no use; so shuffle the code around a bit ...
Sep 16, 5:56 am 2008
Paul Moore
[RFC PATCH v6 07/16] smack: Fix missing calls to netlbl_ ...
Smack needs to call netlbl_skbuff_err() to let NetLabel do the necessary protocol specific error handling. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com> --- security/smack/smack_lsm.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 87d7541..6e2dc0b 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -2179,7 +2179,10 @@ ...
Sep 16, 5:56 am 2008
Paul Moore
[RFC PATCH v6 00/16] Labeled networking patches for 2.6.28
Another revision to the patchset to fix two issues, one trivial, the other not so much. The trivial fix was to add some locking around the connection labeling operations, we're messing with the socket so we should make sure we lock it like we do everywhere else. The second fix was to ensure that we sync up a stream socket's MSS value when we add IP options to the socket. We were doing everything correctly on the client side, but the server side was a bit of a mess; I'm pretty happy with this fix ...
Sep 16, 5:55 am 2008
Paul Moore
[RFC PATCH v6 05/16] selinux: Fix a problem in security_ ...
Currently when SELinux fails to allocate memory in security_netlbl_sid_to_secattr() the NetLabel LSM domain field is set to NULL which triggers the default NetLabel LSM domain mapping which may not always be the desired mapping. This patch fixes this by returning an error when the kernel is unable to allocate memory. This could result in more failures on a system with heavy memory pressure but it is the "correct" thing to do. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: James ...
Sep 16, 5:56 am 2008
Paul Moore
Re: [RFC PATCH v6 00/16] Labeled networking patches for 2.6.28
I forgot to add, there is also a small fix to the cipso_v4_sock_delattr() function so that it correctly removes the CIPSO option and either adjust the option padding correctly or removes the options struct entirely from the socket if it is no longer needed. Thanks to Casey Schaufler for finding this bug. -- paul moore linux @ hp --
Sep 16, 6:15 am 2008
Paul Moore
[RFC PATCH v6 03/16] netlabel: Remove unneeded in-kernel ...
After some discussions with the Smack folks, well just Casey, I now have a better idea of what Smack wants out of NetLabel in the future so I think it is now safe to do some API "pruning". If another LSM comes along that needs this functionality we can always add it back in, but I don't see any LSMs on the horizon which might make use of these functions. Thanks to Rami Rosen who suggested removing netlbl_cfg_cipsov4_del() back in February 2008. Signed-off-by: Paul Moore ...
Sep 16, 5:56 am 2008
Paul Moore
[RFC PATCH v6 11/16] netlabel: Add functionality to set ...
This patch builds upon the new NetLabel address selector functionality by providing the NetLabel KAPI and CIPSO engine support needed to enable the new packet-based labeling. The only new addition to the NetLabel KAPI at this point is shown below: * int netlbl_skbuff_setattr(skb, family, secattr) ... and is designed to be called from a Netfilter hook after the packet's IP header has been populated such as in the FORWARD or LOCAL_OUT hooks. This patch also provides the necessary SELinux ...
Sep 16, 5:57 am 2008
Ulrich Drepper
Re: sys_paccept: disable paccept() until API design is r ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It would unnecessarily require programs to be changed. I've explained that programs cannot efficiently use accept() and poll() when multiple threads are involved. This means in these situations you'll find a This is because none of the other interfaces had (so far) be revised. You use your own opinion as the deciding factor? The behavior differs The signal set wasn't actually my idea. See: I have explained the need already. you ...
Sep 16, 4:17 pm 2008
Oleg Nesterov
Re: sys_paccept: disable paccept() until API design is r ...
Also, the implementation of sys_paccept() is not "perfect", imho. sys_paccept: ret = do_accept(...); if (ret < 0 && signal_pending()) { set_restore_sigmask(); return ret; } It doesn't check that ret == ERESTARTSYS/EINTR. I can't say this is bug, but let's suppose that do_accept() returns (say) -EINVAL, and then the task is interrupted by the signal. Now, if the signal comes after sys_paccept() checks signal_pending(), we return -EINVAL, and the signal handler runs ...
Sep 16, 6:04 am 2008
Michael Kerrisk
sys_paccept: disable paccept() until API design is resolved
Andrew, The patch below disables the new sys_paccept() for now. Please apply for 2.6.27-rc, so that we do not release this API into the wild before a conclusion has been reached about its design. The reasons for disabling paccept() are as follows: * The API is more complex than needed. There is AFAICS no demonstrated use case that the sigset argument of this syscall serves that couldn't equally be served by the use of pselect/ppoll/epoll_pwait + traditional accept(). Roland ...
Sep 16, 5:05 am 2008
Subbu Seetharaman
[RESEND] benet: BladeEngine 10Gb NIC driver
Jeff, It is more than two months since the benet driver patch was made available as a single file as suggeted by you : ftp://ftp.serverengines.com/0001.benet.patch I have not seen this applied. Is there any reason for not applying this patch ? Do you want a patch against the latest git tree ? Thanks. Subbu -----Original Message----- From: netdev-owner@vger.kernel.org [mailto:netdev-owner@vger.kernel.org] On Behalf Of Subbu Seetharaman Sent: Wednesday, July 09, 2008 7:25 AM To: ...
Sep 16, 2:00 am 2008
Eli Cohen
LRO num of frags limit
Hi, looking at the LRO code, at __lro_proc_segment(), it seems that the network driver can configure lro_mgr->max_aggr to any value it wants while the number of fragments aggregated must not exceed MAX_SKB_FRAGS (since we only use a single SKB to aggregate fragments, allocated by lro_gen_skb()). Moreover, even if the driver does limit lro_mgr->max_aggr to MAX_SKB_FRAGS, it might still cause overflow since subsequent aggregations are done at lro_add_frags() which is called before checking ...
Sep 16, 12:36 am 2008
Ben Hutchings
Re: LRO num of frags limit
So you must set max_aggr to I would be interested to see that, anyway. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. --
Sep 16, 3:40 am 2008
Eli Cohen
Re: LRO num of frags limit
By the way, we need to introduce two kinds of "max_aggr" fields to struct net_lro_mgr. The reason is that when LRO is used in the mode in which SKBs are linked, the above limitation does not exist. One will be used for drivers which use lro_receive_skb() (which does not have a limit) and one for drivers which use lro_receive_frags(). This will require changing all the drivers that use LRO. --
Sep 16, 8:25 am 2008
Simon Horman
[patch 3/3] ipvs: add __aquire/__release annotations to ...
This teaches sparse that the following are not problems: make C=1 CHECK net/ipv4/ipvs/ip_vs_ctl.c net/ipv4/ipvs/ip_vs_ctl.c:1793:14: warning: context imbalance in 'ip_vs_info_seq_start' - wrong count at exit net/ipv4/ipvs/ip_vs_ctl.c:1842:13: warning: context imbalance in 'ip_vs_info_seq_stop' - unexpected unlock Signed-off-by: Simon Horman <horms@verge.net.au> Index: lvs-2.6/net/ipv4/ipvs/ip_vs_ctl.c =================================================================== --- ...
Sep 16, 12:13 am 2008
Simon Horman
Re: [patch 2/3] ipvs: supply a valid 0 address to ip_vs_ ...
-- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en --
Sep 16, 3:25 am 2008
Sven Wegener
Re: [patch 2/3] ipvs: supply a valid 0 address to ip_vs_ ...
Could be static and const, to avoid allocation and initialization on the --
Sep 16, 2:25 am 2008
Simon Horman
[patch 2/3] ipvs: supply a valid 0 address to ip_vs_conn_new()
ip_vs_conn_new expects a union nf_inet_addr as the type for its address parameters, not a plain integer. This problem was detected by sparse. make C=1 CHECK net/ipv4/ipvs/ip_vs_core.c net/ipv4/ipvs/ip_vs_core.c:469:9: warning: Using plain integer as NULL pointer Signed-off-by: Simon Horman <horms@verge.net.au> Index: lvs-2.6/net/ipv4/ipvs/ip_vs_core.c =================================================================== --- lvs-2.6.orig/net/ipv4/ipvs/ip_vs_core.c 2008-09-16 ...
Sep 16, 12:13 am 2008
Simon Horman
[patch 1/3] ipvs: only unlock in ip_vs_edit_service() if ...
Jumping to out unlocks __ip_vs_svc_lock, but that lock is not taken until after code that may jump to out. This problem was detected by sparse. make C=1 CHECK net/ipv4/ipvs/ip_vs_ctl.c net/ipv4/ipvs/ip_vs_ctl.c:1332:2: warning: context imbalance in 'ip_vs_edit_service' - unexpected unlock Signed-off-by: Simon Horman <horms@verge.net.au> Index: lvs-2.6/net/ipv4/ipvs/ip_vs_ctl.c =================================================================== --- ...
Sep 16, 12:13 am 2008
Julius Volz
Re: [patch 0/3] ipvs: sparse fixes
To me too. Sorry for the v6-related screwups and thanks for fixing! Julius -- Julius Volz - Corporate Operations - SysOps Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1 --
Sep 16, 4:01 am 2008
Simon Horman
[patch 0/3] ipvs: sparse fixes
Some fixes and annotations for sparse warnings. -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en --
Sep 16, 12:13 am 2008
Sven Wegener Sep 16, 2:28 am 2008
Andy Fleming
[PATCH] ucc_geth: Add 8 bytes to max TX frame for VLANs
From: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Creating a VLAN interface on top of ucc_geth adds 4 bytes to the frame and the HW controller is not prepared to TX a frame bigger than 1518 bytes which is 4 bytes too small for a full VLAN frame. Also add 4 extra bytes for future expansion. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> --- drivers/net/ucc_geth.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ucc_geth.c ...
Sep 15, 5:24 pm 2008
Ethan
RE: [PATCH netdev-2.6] jme: JMicron Gigabit Ethernet Driver
Dear Guo-Fu: It works fine, thanks! Acked-and-tested-by: Ethan Hsiao <ethanhsiao@jmicron.com> Regards, > + val = jr
Sep 15, 7:47 pm 2008
Anton Vorontsov
Re: [PATCH HACK] powerpc: quick hack to get a functional ...
On Mon, Sep 15, 2008 at 03:13:32PM +0200, Sebastien Dugue wrote: There is a known bug in the -rt kernels, the bug causes handlers to lose edge interrupts. See this patch: -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2 --
Sep 16, 4:59 am 2008
Sebastien Dugue
Re: [PATCH HACK] powerpc: quick hack to get a functional ...
Hi Anton, Yes, I've been following that thread back then and my hack is based on your patch. So yes, it seems to be the same problem and it lies in the way -rt handles the fasteoi flow. But looking at the comments from the XICS code, it seems that its wired for level only interrupts. Therefore without any more specs, it's still not clear to me that there's not a bug with the way the xics handles eHEA interrupts. Are the eHEA interrupts really level interrupts? If so why do they ...
Sep 16, 5:22 am 2008
Bosko Radivojevic
Re: GRE keepalives, again
Hi again. Problem is - fib_validate_source() explicitly doesn't allow any local address to be specified as source address. I figured out I'm not the first in need for different behavior. One of the solutions I've found is forward_shared patch [http://www.ssi.bg/~ja/forward_shared-2.6.25-2.diff] which exists for centuries. Actually, it is not working for me but it is addressing the same thing - forwarding packets with local addresses. I've solved my problem (Cisco's GRE keepalive and Linux) ...
Sep 15, 5:20 pm 2008
Hirokazu Takahashi
Re: [PATCH] sendfile() and UDP socket
UDP is a datagram protocol, so I think applications using UDP should care about the size of packets they are going to send rather than expecting that the messages will be split into several packets automatically. If some of the packets have lost, it will be really hard for the applications to re-create the same ones to send again. You can pass "offset" of the file you are going to send and "count" to be sent to sendfile systemcall, so you can split the file into several pieces and send each ...
Sep 16, 5:01 am 2008
Simon Horman
Re: [PATCH] sendfile() and UDP socket
Also, I wonder if this should be an unsigned int as both sizeof(struct iphdr) and inet->cork.opt->optlen are unsigned, -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en --
Sep 15, 9:24 pm 2008
Simon Horman
Re: [PATCH] sendfile() and UDP socket
Hi, I wonder if it is slightly nicer to do without the opt variable. I _think_ its safe to access inet->cork.opt->optlen based on the (inet->cork.flags & IPCORK_OPT) check. diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 8e42fbb..969f6cd 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -743,7 +743,21 @@ int udp_sendpage(struct sock *sk, struct page *page, int offset, size_t size, int flags) { struct udp_sock *up = udp_sk(sk); + struct inet_sock *inet = inet_sk(sk); int ...
Sep 15, 9:17 pm 2008
Simon Horman
Re: [git patches] net driver fixes
On Mon, Sep 15, 2008 at 02:11:59PM -0700, David Miller wrote: [snip] Hi Dave, can you confirm that the commit message requirement stands even if the SHA1 ID references Linus' tree? I personally think that is reasonable, I just want to confirm that is the requirement. -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en --
Sep 15, 7:01 pm 2008
Adrian Bunk
Re: [git patches] net driver fixes
The kerneloops list is helpful, and improving it is great, but it will You miss my point: We agree that the kerneloops list is not perfect. And usually the bugs with a trace that go into the list are the ones that are easier to debug and fix, while the others might be much harder to debug. If one takes Linus' "simple rule of thumb" literally then a hard to debug bug without any messages anywhere mustn't be fixed outside of a merge window. This literal reading is what doesn't make ...
Sep 16, 8:43 am 2008
Thomas Bogendoerfer
Re: [git patches] net driver fixes
the pci_disable_device() is done on an enabled device, so your I thought about the solution, but the pci device is completely setup and enabled in the init function so disabling it at that point and enabling it in open() again sounds silly to me. pci_enable_enable/disable is already done in .init/.remove and .suspend/.resume, so it looked more obviuos to not let close() do the pci_disable_device(). Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessary ...
Sep 16, 8:21 am 2008
Adrian Bunk
Re: [git patches] net driver fixes
Such a fix is even suitable for -stable. If something is considered suitable for -stable, but not for -rc with one month to go before the release of the kernel, then there's something wrong in the process. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Sep 16, 1:39 am 2008
Adrian Bunk
Re: [git patches] net driver fixes
Note that my emails are not meant against David personally - he just seems to have gotten from pushing too much to pushing too few, with such illogical results. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Sep 16, 3:48 am 2008
Arjan van de Ven
Re: [git patches] net driver fixes
On Tue, 16 Sep 2008 17:34:10 +0300 not sure; just we need to catch doing pci_disable_device on a non-enabled device as a WARN_ON. and the patch looks quite wrong, the real answer should be to do the that's being worked on, by storing the crash data in some non-volatile if you want perfection, you're not going to get it. "Perfect is the enemy of good" If you want to help make things better (as opposed to perfect), you're very welcome to help out, be it with suggestions on how to ...
Sep 16, 7:48 am 2008
Adrian Bunk
Re: [git patches] net driver fixes
I'm eagerly awaiting to slap this at Linus the next time he dares to directly apply a patch that only fixes a sparse warning outside of a merge window... ;-) More seriously, there's a difference between Linus' "another random improvement" and an "is even suitable for -stable". I'm not reading Linus' (Cc'ed) statement the way that a patch that is appropriate for 2.6.27.1 is not appropriate for -rc now. If I'm misreading Linus on this it might make sense if they'd discuss ...
Sep 16, 5:15 am 2008
Thomas Bogendoerfer
Re: [git patches] net driver fixes
that was my feeling as well, but if David wants to see it in the next merge window, it's his decision. It's not a important fix as the user base is obviuosly pretty small. And I didn't know about that bug, when the merge windows was open, so I couldn't fix it "in time". Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessary a good idea. [ RFC1925, 2.3 ] --
Sep 16, 2:18 am 2008
Adrian Bunk
Re: [git patches] net driver fixes
Among the patches David rejected based on what Linus said was Thomas' patch [1]. It is not a "really important bug" and does not affect "huge number of users". But it passes Documentation/stable_kernel_rules.txt, and can we agree that if it gets submitted for 2.6.27.1 it will likely pass review and get applied? cu Adrian [1] http://article.gmane.org/gmane.linux.network/105810 -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. ...
Sep 16, 7:46 am 2008
Adrian Bunk
Re: [git patches] net driver fixes
And if it goes in during the next merge window it can immediately go into 2.6.27.1 (and even 2.6.26.y if it's still maintained), since the fix fulfills Documentation/stable_kernel_rules.txt . cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Sep 16, 2:40 am 2008
Theodore Tso
Re: [git patches] net driver fixes
Well, remember that patches that get published for -stable do have to go through an extra review process. It's not true that any "obviously correct" bug fix gets automatically published in -stable. Sometimes bug fixes do get rejected for -stable because they are too risky, or require more time for testing in the -rc series before they are deemed suitable for -stable. Looking at 2.6.26, there is currently about 195 patches queued up, which is certainly not all of the bugs fixed during the ...
Sep 16, 6:54 am 2008
Jarek Poplawski
Re: [git patches] net driver fixes
Probably he can read. Jarek P. PS: --
Sep 16, 4:43 am 2008
Arjan van de Ven
Re: [git patches] net driver fixes
On Tue, 16 Sep 2008 09:54:08 -0400 also note that Linus said "regression or on the kerneloops list"; if it has any kind of backtrace, it'll be there if it's a common problem that hits many users. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Sep 16, 7:02 am 2008
Adrian Bunk
Re: [git patches] net driver fixes
Thomas' patch [1] will fixes a bug of a kind that will likely never make it to your list. And the same also e.g. goes for bugs where your machine is completely dead (no SysRq possible) with nothing in the logs. The kerneloops lists are quite valuable, but they can never cover all classes of fatal bugs. cu Adrian [1] http://article.gmane.org/gmane.linux.network/105810 -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been ...
Sep 16, 7:34 am 2008
Julius Volz
Re: Adding SNAT support to LVS/NAT
So I did some experiments and removed the ip_vs_post_routing() function that stops further POSTROUTING processing. I added an SNAT rule to POSTROUTING like this: $ iptables –t nat –A POSTROUTING –o eth1 –j SNAT –-to $DIP Amazingly, the first SYN and the SYN/ACK of a TCP connection to the VIP:vport do not traverse the NAT chain in POSTROUTING at all (verified by LOG target), so their source is not rewritten (like in normal LVS/NAT). However, the client's ACK response to the SYN/ACK finally ...
Sep 16, 1:45 pm 2008
Jason Stubbs
Re: Adding SNAT support to LVS/NAT
Hmm.. with LVS-NAT happening in OUTPUT, it may not be possible - or at least not useful. I'm using DNAT before LVS-NAT to redirect the VIP to a different internal IP for certain source addresses. If LVS-NAT happens before DNAT, DNAT could only be used with RIPs which I can't imagine to be useful at all... -- Jason Stubbs <j.stubbs@linkthink.co.jp> LINKTHINK INC. 東京都渋谷区桜ヶ丘町22-14 N.E.S S棟 3F TEL 03-5728-4772 FAX 03-5728-4773 --
Sep 15, 7:04 pm 2008
Jason Stubbs
Re: Adding SNAT support to LVS/NAT
For what it's worth, I'm currently using DNAT alongside LVS-NAT for certain connections. It only serves a secondary purpose and there are other ways (although not as simple) to achieve the purpose, but it has proven useful. -- Jason Stubbs <j.stubbs@linkthink.co.jp> LINKTHINK INC. 東京都渋谷区桜ヶ丘町22-14 N.E.S S棟 3F TEL 03-5728-4772 FAX 03-5728-4773 --
Sep 15, 6:31 pm 2008
Joseph Mack NA3T
Re: Adding SNAT support to LVS/NAT
I'm having a bit of trouble fitting DNAT into the OUTPUT of a director (at least on the OUTPUT of the inside nic). What are you doing this for? Joe -- Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d (dot) net - azimuthal equidistant map generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux! --
Sep 15, 6:54 pm 2008
Thomas Klein
Re: [PATCH 2/2] ehea: fix mutex and spinlock use
It unfortunately can't. As I already mentioned "it must be assured that no function that modifies the list's content can be called while another list update is in progress". This means that for example ehea_broadcast_reg_helper() may not run during a list update. That's why the locks surround these function calls as well. --
Sep 16, 2:13 am 2008
Sebastien Dugue Sep 16, 3:38 am 2008
Sebastien Dugue
Re: [PATCH 2/2] ehea: fix mutex and spinlock use
OK, your call, you know the code better than I do. But the locking could at least be pushed into ehea_update_firmware_handles() and ehea_update_bcmc_registrations() instead of being at each call site. Thanks, --
Sep 15, 11:57 pm 2008
Shan Wei
Re: [PATCH RESEND] ipv6: return with appropriate error c ...
sorry for repling late. maybe what i describe is not explicit. in this function the style is like this: case XX: { retv = -EPROTO; if (condition1) break; ... retv = -EFAULT; if (condition2) break; ... retv = -EINVAL; if (condition3) break; ... } when the conditions are all false, the retv value is set three times. but with the following style, the retv value is not set. case XX: { if (condition1){ retv = -EPROTO;break;} ... if (condition2){ retv = ...
Sep 16, 12:13 am 2008
Brandeburg, Jesse
Re: [NET-NEXT PATCH] e1000: remove unused Kconfig option ...
Here is an updated patch without the defconfig changes == cut here == e1000: remove Kconfig option for packet split and e1000 related code From: Jesse Brandeburg <jesse.brandeburg@intel.com> Since the e1000/e1000e split, no hardware supported by e1000 supports packet split, just remove the Kconfig option and associated code from the driver. reposted without the defconfig changes, should apply to net-next Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> --- ...
Sep 16, 1:01 pm 2008
Jay Cliburn
Re: atl1: WARNING at net/sched/sch_generic.c:221
On Tue, 16 Sep 2008 02:45:22 +0400 Does this stay tuned mean, "Jay, hold off while I (Alexey) troubleshoot this further." Or does it mean, "Jay, you've not completely solved the problem yet and you need to continue working on it." If it's the latter, can you please describe your setup and how you reproduce the problem? Is the box you have connected directly to the atl1 box used as a netconsole? Thanks for your help. Jay --
Sep 15, 6:44 pm 2008
Jarek Poplawski
Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs. d ...
On Mon, Sep 15, 2008 at 04:44:08PM -0700, Duyck, Alexander H wrote: Actually, looking at this HFSC now I start to doubt we need to complicate these things so much. If HFSC is OK with its simple hfsc_requeue() I doubt other qdiscs need much more, and we should reconsider David's idea to do the same on top, in dev_requeue_skb(). Qdiscs like multiq would probably never use this, and these above mentioned (not mq-optimized) qdiscs could be used with multiq if needed. Then, it seems, it would be ...
Sep 16, 3:47 am 2008
Gilles Chanteperdrix
Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
I will be able to test the modification soon. I will repost the patch on linux-arm-kernel after this test. -- Gilles. --
Sep 16, 5:47 am 2008
Lennert Buytenhek
Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
OK. Please also try leaving reset_chip() as it is and see if it still works like that -- I suspect that that part of the patch might have been a debug leftover. --
Sep 16, 5:52 am 2008
Gilles Chanteperdrix
Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
Yes, that is precisely the part I want to test. -- Gilles. --
Sep 16, 5:54 am 2008
Lennert Buytenhek
Re: [PATCH] cs89x0: add support for i.MX31ADS ARM board
I guess then we should just wait until the Freescale people submit it. --
Sep 16, 5:44 am 2008
Dâniel
Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragilit ...
On Tue, 16 Sep 2008 15:10:33 +0300 (EEST) I assume it's adjusting the clock's rate a bit. Anyway, it's a pretty simple config: fraga@teleporto ~$ cat /etc/ntp.conf server ntp.usp.br server ntp.nasa.gov driftfile /etc/ntp.drift And ntpd is running without any special parameters. The log messages are as simple as: Sep 15 03:56:04 teleporto ntpd[2301]: frequency initialized 5.891 PPM from /etc/ntp.drift Sep 15 03:59:25 teleporto ntpd[2304]: frequency initialized 5.891 PPM from ...
Sep 16, 7:24 am 2008
Ilpo Järvinen
Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragilit ...
I've copied stuff from the other mail to here... Sorry for the delay, I had already looked into it but left it as postponed and I've been busy in other things... On Sat, 13 Sep 2008, D
Sep 16, 5:10 am 2008
Lennert Buytenhek
Re: [PATCH] Re: ep93xx_eth PHY problems
OK, can you provide a commit message for this so that I can add it to http://git.wantstofly.org/?p=ep93xx_eth.git/.git;a=summary and ask Jeff --
Sep 16, 5:51 am 2008
previous daytodaynext day
September 15, 2008September 16, 2008September 17, 2008