[PATCH 1/2] myri10ge - Write the firmware in 256-bytes chunks

2006-07-29 Thread Brice Goglin
When writing the firmware to the NIC, the FIFO is 256-bytes long, so we use 256-bytes chunks and a read to wait until the previous write is done. Signed-off-by: Brice Goglin <[EMAIL PROTECTED]> --- drivers/net/myri10ge/myri10ge.c | 19 +++ 1 file changed, 7 insertions(+), 12 del

[PATCH 2/2] myri10ge - Fix spurious invokations of the watchdog reset handler

2006-07-29 Thread Brice Goglin
Fix spurious invocations of the watchdog reset handler. Signed-off-by: Brice Goglin <[EMAIL PROTECTED]> --- drivers/net/myri10ge/myri10ge.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Index: linux-mm/drivers/net/myri10ge/myri10ge.c ===

[PATCH 0/2] myri10ge fixes

2006-07-29 Thread Brice Goglin
Hi, The following 2 patches fix the following issues in the myri10ge driver: #1 - When writing the firmware to the NIC, the FIFO is 256-bytes long, so we use 256-bytes chunks and a read to wait until the previous write is done. I sent this patch two weeks ago, this new version removes the superfl

Re: Regarding offloading IPv6 addrconf and ndisc

2006-07-29 Thread Kazunori Miyazawa
Hi Hugo, I think it is not correct to refer the IPSec architecture in the context. It is originally desigened to separete the packet processing and the management. They are loosely coupled and are not always synchronized. For example if the daemon installs a pair of SAs which override the SAs in S

What's new in wireless-dev?

2006-07-29 Thread John W. Linville
Lots of patches lately, and I got a bit behind w/ travel to Ottawa and some "real job" stuff too... :-( I've still got a bunch of rt2x00 patches from Ivo, and a few other patches as well. Coming soon... John --- The following changes since commit 44ba187488edb4e567a0163d334f2bc0318dc392: Joh

Re: [parisc-linux] [git patches] tulip fixes from parisc-linux

2006-07-29 Thread Grant Grundler
On Sat, Jul 29, 2006 at 06:54:59PM -0400, Kyle McMartin wrote: > Hi Val, > > Sorry it took so long for me to get around to splitting > up the changes from the parisc-linux tree. But here > they finally are. Kyle, dude, you rock! Many thanks for doing that. I just wanted to warn that some of the

Re: [-mm patch] security/selinux/hooks.c: make 4 functions static

2006-07-29 Thread James Morris
On Sat, 29 Jul 2006, Adrian Bunk wrote: > On Thu, Jul 27, 2006 at 01:56:39AM -0700, Andrew Morton wrote: > >... > > Changes since 2.6.18-rc2-mm1: > >... > > git-net.patch > >... > > git trees > >... > > This patch makes four needlessly global functions static. > > Signed-off-by: Adrian Bunk <[

[git patches] tulip fixes from parisc-linux

2006-07-29 Thread Kyle McMartin
Hi Val, Sorry it took so long for me to get around to splitting up the changes from the parisc-linux tree. But here they finally are. This patchset has been running on a variety of parisc and ia64 machines for quite some time (several years...) without issue. Some of these are more cosmetic change

[DSCAPE] rate_control needs some form of reference counting

2006-07-29 Thread Karol Lewandowski
Hi, I'm getting reproductible oops when removing rt2500pci module (which uses devicescape ieee802.11 stack): # modprobe rt2500pci Loading module: rt2500pci - CVS (N/A) by http://rt2x00.serialmonkey.com. ACPI: PCI Interrupt :03:00.0[A] -> GSI 21 (level, low) -> IRQ 18 wmaster0: Failed to s

Re: [PATCH 2/7] NetLabel: core network changes

2006-07-29 Thread Paul Moore
On Saturday 29 July 2006 12:34 pm, Venkat Yekkirala wrote: > > > This is only true wart I see in the patch set from my > > > perspective. > > > > > > You have security_post_accept_hook(), which gets the parent and > > > the child socket which is all the information you need, and it > > > seems to b

Re: [RFC 1/4] kevent: core files.

2006-07-29 Thread Nicholas Miell
On Sat, 2006-07-29 at 19:48 +0400, Evgeniy Polyakov wrote: > On Fri, Jul 28, 2006 at 09:32:42PM -0700, Nicholas Miell ([EMAIL PROTECTED]) > wrote: > > Speaking of API design choices, I saw your OLS paper and was wondering > > if you were familiar with the Solaris port APIs* and, if so, you could >

[-mm patch] security/selinux/hooks.c: make 4 functions static

2006-07-29 Thread Adrian Bunk
On Thu, Jul 27, 2006 at 01:56:39AM -0700, Andrew Morton wrote: >... > Changes since 2.6.18-rc2-mm1: >... > git-net.patch >... > git trees >... This patch makes four needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- security/selinux/hooks.c | 12 +++-

Re: [RFC 1/4] kevent: core files.

2006-07-29 Thread Hans Henrik Happe
On Saturday 29 July 2006 18:18, Ulrich Drepper wrote: > Evgeniy Polyakov wrote: > > Btw, why do we want mapped ring of ready events? > > If user requestd some event, he definitely wants to get them back when > > they are ready, and not to check and then get them? > > Could you please explain more o

RE: [PATCH 2/7] NetLabel: core network changes

2006-07-29 Thread Venkat Yekkirala
> > This is only true wart I see in the patch set from my > > perspective. > > > > You have security_post_accept_hook(), which gets the parent and > > the child socket which is all the information you need, and it > > seems to be invoked at the correct location. > > > > So can you please hook int

Re: [RFC 1/4] kevent: core files.

2006-07-29 Thread Ulrich Drepper
Evgeniy Polyakov wrote: > Btw, why do we want mapped ring of ready events? > If user requestd some event, he definitely wants to get them back when > they are ready, and not to check and then get them? > Could you please explain more on this issue? If of course makes no sense to enter the kernel t

Re: [RFC 1/4] kevent: core files.

2006-07-29 Thread Evgeniy Polyakov
On Fri, Jul 28, 2006 at 09:32:42PM -0700, Nicholas Miell ([EMAIL PROTECTED]) wrote: > Speaking of API design choices, I saw your OLS paper and was wondering > if you were familiar with the Solaris port APIs* and, if so, you could > please comment on how your proposed event channels are different/b

Re: [RFC 1/4] kevent: core files.

2006-07-29 Thread Evgeniy Polyakov
On Fri, Jul 28, 2006 at 08:38:02PM -0700, Ulrich Drepper ([EMAIL PROTECTED]) wrote: > Zach Brown wrote: > > Ulrich, would you be satisfied if we didn't > > have the userspace mapped ring on the first pass and only had a > > collection syscall? > > I'm not the one to make a call but why rush thing

Re: [RFC] Mobile IPv6 introduction

2006-07-29 Thread Hugo Santos
Hi, First of all and to be fair let me introduce my bias -- i'm also developing a mobility framework, which although not MIPv6-specific, does support it (we'll be running a large set of tests during the following month, hopefully culminating in an initial public release in september). In ge

Re: Regarding offloading IPv6 addrconf and ndisc

2006-07-29 Thread Hugo Santos
Hi Jamal, Through this discussion i've identified three points: one is that some believe control and data should be kept synchronized; the other is how some (including all of the first :-) think control should remain inside the kernel; and finally you and me so far who believe they should b

[NET]: Fix ___pskb_trim when entire frag_list needs dropping

2006-07-29 Thread Herbert Xu
On Thu, Jul 13, 2006 at 07:03:41PM +1000, herbert wrote: > > This needs to go into stable as well. In fact, there is another unrelated > bug with exactly the same symptoms which was inadvertently fixed by the > GSO patches. So I'll send a simpler fix for that to stable. > > [NET]: Update frag_l

Re: [PATCH 2/5] [IPV6]: Multiple Routing Tables

2006-07-29 Thread Thomas Graf
* YOSHIFUJI Hideaki / ?$B5HF#1QL@ <[EMAIL PROTECTED]> 2006-07-29 13:13 > Well, one design consideration that I have had for several months > is performance impact. > > Previously, we directly use address, ifindex etc., not flowi, > in IPv6 routing code except for ip6_route_output(). > This patch c

[PATCH 2/20] [PATCH] [XFRM] IPV6: Support Mobile IPv6 extension headers sorting.

2006-07-29 Thread Masahide NAKAMURA
Support Mobile IPv6 extension headers sorting for two transformation policies. Mobile IPv6 extension headers should be placed after IPsec transport mode, but before transport AH when outbound. --- net/ipv6/xfrm6_state.c | 28 ++-- 1 files changed, 26 insertions(+), 2 dele

[PATCH 12/20] [PATCH] [IPV6] MIP6: Add routing header type 2 transformation.

2006-07-29 Thread Masahide NAKAMURA
Add routing header type 2 transformation for Mobile IPv6. Based on MIPL2 kernel patch. --- include/net/mip6.h | 31 + net/ipv6/Makefile |3 + net/ipv6/af_inet6.c |9 ++ net/ipv6/mip6.c | 186 +++ 4 files changed, 229 inserti

[PATCH 8/20] [PATCH] [IPV6] MIP6: Add home address option definition.

2006-07-29 Thread Masahide NAKAMURA
Add home address option definition for Mobile IPv6. Based on MIPL2 kernel patch. --- include/linux/in6.h |1 + include/linux/ipv6.h | 10 ++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/linux/in6.h b/include/linux/in6.h index 304aaed..086ec2a 100644 --- a/

[PATCH 17/20] [PATCH] [IPV6] MIP6: Add receiving mobility header functions through raw socket.

2006-07-29 Thread Masahide NAKAMURA
Like ICMPv6, mobility header is handled through raw socket. In inbound case, check only whether ICMPv6 error should be sent as a reply or not by kernel. Based on MIPL2 kernel patch. --- include/net/mip6.h |4 ++ net/ipv6/mip6.c| 87 ne

[PATCH 19/20] [PATCH] [IPV6] MIP6: Add sending mobility header functions through raw socket.

2006-07-29 Thread Masahide NAKAMURA
Mobility header is built by user-space and sent through raw socket. Kernel just extracts its type to flow. Based on MIPL2 kernel patch. --- net/ipv6/raw.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index e0faf4d..0e8dca

[PATCH 18/20] [PATCH] [IPV6] MIP6: Ignore mobility headers if it is rejected.

2006-07-29 Thread Masahide NAKAMURA
Ignore mobility headers if it is rejected by route optimization. Mobility headers should be bypassed for any route optimization and application should use transformation policy and wild-card states corerctly to catch mobility headers prior than other packets. This case which such reject is occurred

[PATCH 15/20] [PATCH] [XFRM] STATE: Add Mobile IPv6 route optimization protocols to netlink interface.

2006-07-29 Thread Masahide NAKAMURA
Add Mobile IPv6 route optimization protocols to netlink interface. Route optimization states carry care-of address. Based on MIPL2 kernel patch. --- net/xfrm/xfrm_user.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/x

[PATCH 4/20] [PATCH] [IPV6] MIP6: Add inbound interface of routing header type 2.

2006-07-29 Thread Masahide NAKAMURA
Add inbound interface of routing header type 2 for Mobile IPv6. Based on MIPL2 kernel patch. --- include/net/addrconf.h |7 + net/ipv6/exthdrs.c | 71 +++- 2 files changed, 70 insertions(+), 8 deletions(-) diff --git a/include/net/addrconf

[PATCH 16/20] [PATCH] [IPV6] MIP6: Add Mobility header definition.

2006-07-29 Thread Masahide NAKAMURA
Add Mobility header definition for Mobile IPv6. Based on MIPL2 kernel patch. --- include/linux/in6.h |1 + include/net/flow.h |9 + include/net/ipv6.h |1 + include/net/mip6.h | 23 +++ 4 files changed, 34 insertions(+), 0 deletions(-) diff --git a/inc

[PATCH 20/20] [PATCH] [IPV6] MIP6: Transformation support mobility header.

2006-07-29 Thread Masahide NAKAMURA
Transformation support mobility header. Based on MIPL2 kernel patch. --- include/net/xfrm.h |5 + net/ipv6/xfrm6_policy.c | 15 +++ 2 files changed, 20 insertions(+), 0 deletions(-) diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 0d14b1f..85398b0 100644 --- a

[PATCH 6/20] [PATCH] [IPV6]: Find option offset by type.

2006-07-29 Thread Masahide NAKAMURA
This is a helper to search option offset from extension header which can carry TLV option like destination options header. Mobile IPv6 home address option will use it. Based on MIPL2 kernel patch. --- include/net/ipv6.h |2 ++ net/ipv6/exthdrs.c | 43 +

[PATCH 13/20] [PATCH] [IPV6] MIP6: Add destination options header transformation.

2006-07-29 Thread Masahide NAKAMURA
Add destination options header transformation for Mobile IPv6. Based on MIPL2 kernel patch. --- include/net/mip6.h |3 + net/ipv6/mip6.c| 167 2 files changed, 170 insertions(+), 0 deletions(-) diff --git a/include/net/mip6.h b/include

[PATCH 10/20] [PATCH] [IPV6] MIP6: Revert address to send ICMPv6 error.

2006-07-29 Thread Masahide NAKAMURA
IPv6 header addresses are replaced in receiving packet with Mobile IPv6 extension headers. To send ICMPv6 error back, original address which is received ones on wire should be used. This function checks such header is included and reverts them. Based on MIPL2 kernel patch. --- net/ipv6/icmp.c |

[PATCH 7/20] [PATCH] [IPV6]: Allow to replace skbuff by TLV parser.

2006-07-29 Thread Masahide NAKAMURA
In receiving Mobile IPv6 home address option which is a TLV carried by destination options header, kernel will try to mangle source adderss of packet. Think of cloned skbuff it is required to replace it by the parser just like routing header case. This is a framework to achieve that to allow TLV pa

[PATCH 5/20] [PATCH] [IPV6] MIP6: Add socket option and ancillary data interface of routing header type 2.

2006-07-29 Thread Masahide NAKAMURA
Add socket option and ancillary data interface of routing header type 2. Mobile IPv6 application will use this to send binding acknowledgement with the header without relation of confirmed route optimization (binding). Based on MIPL2 kernel patch. --- net/ipv6/datagram.c | 11 +++ n

[PATCH 14/20] [PATCH] [IPV6] MIP6: Report to user-space when home address option is rejected.

2006-07-29 Thread Masahide NAKAMURA
Report to user-space when home address option is rejected. In receiving this message user-space application will send Mobile IPv6 binding error. It is rate-limited by kernel. Based on MIPL2 kernel patch. --- net/ipv6/mip6.c | 83 +++ 1 files c

[PATCH 11/20] [PATCH] [IPV6] IPSEC: Support sending with Mobile IPv6 extension headers.

2006-07-29 Thread Masahide NAKAMURA
Mobile IPv6 defines home address option as an option of destination options header. It is placed before fragment header then ip6_find_1stfragopt() is fixed to know about it. Home address option also carries final source address of the flow, then outbound AH calculation should take care of it like r

[PATCH 3/20] [PATCH] [IPV6] MIP6: Add routing header type 2 definition.

2006-07-29 Thread Masahide NAKAMURA
Add routing header type 2 definition for Mobile IPv6. Based on MIPL2 kernel patch. --- include/linux/ipv6.h | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 1263d8c..9152d4b 100644 --- a/include/linux/ipv6.h +++

[PATCH 1/20] [PATCH] [IPV6]: Add Kconfig to enable Mobile IPv6.

2006-07-29 Thread Masahide NAKAMURA
Based on MIPL2 kernel patch. --- net/ipv6/Kconfig |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig index f8a107a..06b1c3a 100644 --- a/net/ipv6/Kconfig +++ b/net/ipv6/Kconfig @@ -115,3 +115,12 @@ config IPV6_TUNNEL If

[PATCH 0/20][IPV6/XFRM] MIPv6 CN (part B)

2006-07-29 Thread Masahide NAKAMURA
Here is Part B patches, following this mail. Part B is also available as mip6cn-20060716-review branch at: git://git.skbuff.net:9419/gitroot/nakam/linux-2.6-mip6cn This tree includes part A, then it has all patches about "Advanced XFRM for CN". > Please see patches about "Avanced XFRM for CN"

[PATCH 19/23] [PATCH] [XFRM] POLICY: Add Kconfig to support sub policy.

2006-07-29 Thread Masahide NAKAMURA
diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig index 50f2fb3..9d28e88 100644 --- a/net/xfrm/Kconfig +++ b/net/xfrm/Kconfig @@ -22,6 +22,16 @@ config XFRM_ADVANCED If unsure, say N. +config XFRM_SUB_POLICY + bool "Transformation sub policy support (EXPERIMENTAL)" + depend

[PATCH 17/23] [PATCH] [XFRM]: Introduce XFRM_MSG_REPORT.

2006-07-29 Thread Masahide NAKAMURA
XFRM_MSG_REPORT is a message as notification of state protocol and selector from kernel to user-space. Mobile IPv6 will use it when inbound reject is occurred at route optimization to make user-space know a binding error requirement. Based on MIPL2 kernel patch. --- include/linux/xfrm.h | 15 ++

[PATCH 16/23] [PATCH] [XFRM]: Rename secpath_has_tunnel to secpath_has_nontransport.

2006-07-29 Thread Masahide NAKAMURA
On current kernel inbound transformation state is allowed transport and disallowed tunnel mode when mismatch is occurred between tempates and states. As the result of adding two more modes by Mobile IPv6, this function name is misleading. Inbound transformation can allow only transport mode when mi

[PATCH 12/23] [PATCH] [XFRM] STATE: Introduce care-of address.

2006-07-29 Thread Masahide NAKAMURA
Care-of address is carried by state as a transformation option like IPsec encryption/authentication algorithm. Based on MIPL2 kernel patch. --- include/linux/xfrm.h |1 + include/net/xfrm.h|5 + net/xfrm/xfrm_state.c | 10 + net/xfrm/xfrm_user.c | 53 +

[PATCH 9/23] [PATCH] [XFRM] STATE: Support non-fragment outbound transformation headers.

2006-07-29 Thread Masahide NAKAMURA
For originated outbound IPv6 packets which will fragment, ip6_append_data() should know length of extension headers before sending them and the length is carried by dst_entry. IPv6 IPsec headers fragment then transformation was designed to place all headers after fragment header. OTOH Mobile IPv6 e

[PATCH 6/23] [PATCH] [XFRM] STATE: Search by address using source address list.

2006-07-29 Thread Masahide NAKAMURA
This is a support to search transformation states by its addresses by using source address list. For Mobile IPv6 usage. Based on MIPL2 kernel patch. --- include/net/xfrm.h | 11 +++ net/ipv4/xfrm4_state.c | 13 + net/ipv6/xfrm6_state.c | 25 n

[PATCH 7/23] [PATCH] [XFRM] STATE: Add a hook to find where to be inserted header in outbound.

2006-07-29 Thread Masahide NAKAMURA
On current kernel, ip6_find_1stfragopt() is used by IPv6 IPsec to find where to be inserted header in outbound. (BTW, no usage may be needed for IPv4 case.) Mobile IPv6 requires other logic for routing header and destination options header respectively. Based on MIPL2 kernel patch. --- include/net

[PATCH 10/23] [PATCH] [XFRM]: Trace which secpath state is reject factor.

2006-07-29 Thread Masahide NAKAMURA
For Mobile IPv6 usage, it is required to trace which secpath state is reject factor in order to notify it to user space (to know the address which cannot be used route optimized communication). Based on MIPL2 kernel patch. --- include/net/xfrm.h |3 ++ net/xfrm/xfrm_policy.c | 67 +++

[PATCH 22/23] [PATCH] [XFRM] POLICY: Support netlink socket interface for sub policy.

2006-07-29 Thread Masahide NAKAMURA
Sub policy can be used through netlink socket. (PF_KEY uses main only and it is TODO to support sub.) --- include/linux/xfrm.h |6 + include/net/xfrm.h |1 + net/key/af_key.c | 13 +++ net/xfrm/xfrm_user.c | 60 +++--- 4 fil

[PATCH 23/23] [PATCH] [XFRM] IPV6: Add sort functions to combine templates/states for IPsec.

2006-07-29 Thread Masahide NAKAMURA
Add sort functions to combine templates/states for IPsec. Think of outbound transformation order we should be careful with transport AH which must be the last of all transport ones. --- net/ipv6/xfrm6_state.c | 101 1 files changed, 101 insertions(

[PATCH 18/23] [PATCH] [XFRM] IPV6: Update outbound state timestamp for each sending.

2006-07-29 Thread Masahide NAKAMURA
Mobile IPv6 enabled nodes will want to know traffic status of each binding (e.g. judgement to request binding refresh by correspondent node, or to keep home/care-of nonce alive by mobile node). The last used timestamp is an important hint about it. Based on MIPL2 kernel patch. --- net/ipv6/xfrm6_o

[PATCH 13/23] [PATCH] [XFRM]: Expand XFRM_MAX_DEPTH for routing header and destination options header.

2006-07-29 Thread Masahide NAKAMURA
XFRM_MAX_DEPTH is a limit of transformation states to be applied to the same flow. Two extension headers are used by Mobile IPv6 transformation. Based on MIPL2 kernel patch. --- include/net/xfrm.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/net/xfrm.h b/incl

[PATCH 11/23] [PATCH] [XFRM] STATE: Common receive function for route optimization extension headers.

2006-07-29 Thread Masahide NAKAMURA
XFRM_STATE_WILDRECV flag is introduced; the last resort state is set it and receives packet which is not route optimized but uses such extension headers i.e. Mobile IPv6 signaling (binding update and acknowledgement). A node enabled Mobile IPv6 adds the state. Based on MIPL2 kernel patch. --- incl

[PATCH 8/23] [PATCH] [XFRM] STATE: Add a hook to obtain local/remote outbound address.

2006-07-29 Thread Masahide NAKAMURA
Outbound transformation replaces both source and destination address with state's end-point addresses at the same time when IPsec tunnel mode. It is also required to change them for Mobile IPv6 route optimization, but we should care about the following differences: - changing result is not end-poi

[PATCH 14/23] [PATCH] [XFRM]: Restrict authentication algorithm only when inbound transformation protocol is IPsec.

2006-07-29 Thread Masahide NAKAMURA
For Mobile IPv6 usage, routing header or destination options header is used and it doesn't require this compare. It is checked only when IPsec template. Based on MIPL2 kernel patch. --- net/xfrm/xfrm_policy.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/xfrm/xfrm_

[PATCH 20/23] [PATCH] [XFRM] POLICY: sub policy support.

2006-07-29 Thread Masahide NAKAMURA
Sub policy is introduced. Main and sub policy are applied the same flow. (Policy that current kernel uses is named as main.) It is required another transformation policy management to keep IPsec and Mobile IPv6 lives separate. Policy which lives shorter time in kernel should be a sub i.e. normally

[PATCH 21/23] [PATCH] [XFRM]: Add sorting interface for state and template.

2006-07-29 Thread Masahide NAKAMURA
Under two transformation policies it is required to merge them. This is a platform to sort state for outbound and templates for inbound respectively. Mobile IPv6 will use it. --- include/net/xfrm.h | 22 ++ net/xfrm/xfrm_policy.c | 16 ++-- net/xfrm/xfrm_sta

[PATCH 15/23] [PATCH] [XFRM] STATE: Allow non IPsec protocol.

2006-07-29 Thread Masahide NAKAMURA
It will be added two more transformation protocols (routing header and destination options header) by Mobile IPv6. xfrm_id_proto_match() can be handle zero as all, IPSEC_PROTO_ANY as all IPsec and otherwise as exact one. Based on MIPL2 kernel patch. --- include/net/xfrm.h |7 +++ net/xf

[PATCH 4/23] [PATCH] [XFRM]: Fix message about transformation user interface.

2006-07-29 Thread Masahide NAKAMURA
Transformation user interface is not only for IPsec. Based on MIPL2 kernel patch. --- net/xfrm/Kconfig |6 +++--- net/xfrm/xfrm_user.c |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig index 95f4f09..50f2fb3 100644 --- a/net/xfrm/

[PATCH 1/23] [PATCH] [XFRM]: Add XFRM_MODE_xxx for future use.

2006-07-29 Thread Masahide NAKAMURA
Transformation mode is used as either IPsec transport or tunnel. It is required to add two more items, route-optimization and inbound trigger by Mobile IPv6. Based on MIPL2 kernel patch. --- include/linux/xfrm.h|9 - include/net/xfrm.h |2 +- net/ipv4/ah4.c |2

[PATCH 3/23] [PATCH] [XFRM]: Add Kconfig to enable advanced transformation.

2006-07-29 Thread Masahide NAKAMURA
This option is for enhanced transformation features and it will be used by Mobile IPv6. Based on MIPL2 kernel patch. --- net/xfrm/Kconfig |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig index 0c1c043..95f4f09 100644 --- a/net/xfrm

[PATCH 5/23] [PATCH] [XFRM] STATE: Add source address list.

2006-07-29 Thread Masahide NAKAMURA
Support source address based searching. Mobile IPv6 will use it. Based on MIPL2 kernel patch. --- include/linux/xfrm.h |1 + include/net/xfrm.h | 32 net/ipv4/xfrm4_state.c |5 + net/ipv6/xfrm6_state.c |5 + net/xfrm/xfrm_state.c | 38

[PATCH 2/23] [PATCH] [XFRM]: Introduce a helper to compare id protocol.

2006-07-29 Thread Masahide NAKAMURA
Put the helper to header for future use. --- include/net/xfrm.h|6 ++ net/xfrm/xfrm_state.c |6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/net/xfrm.h b/include/net/xfrm.h index ddb153d..ca537b5 100644 --- a/include/net/xfrm.h +++ b/include/net/xfr

[PATCH 0/23][XFRM] MIPv6 CN introduction (part A) (Re: [RFC] Mobile IPv6 introduction)

2006-07-29 Thread Masahide NAKAMURA
Please see patches about "Avanced XFRM for CN", following this mail. These are just for review, and it is against 2.6.17. "Avanced XFRM for CN" tree is consists of: A. XFRM extension for route optimization B. IPv6 extension headers: new type (2) of routing header new TLV option

[RFC] Mobile IPv6 introduction

2006-07-29 Thread Masahide NAKAMURA
Hello, Let me introduce Mobile IPv6(RFC3775) patch and its outline. We USAGI project and HUT Go/Core project have developed for Mobile IPv6(MIPv6) stack on 2.6 tree as MIPL2 for several years. Our aim is to make kernel patch smaller (than MIPL1 which is for 2.4 kernel). We find out we have 4 cat

Re: [PATCH] include/linux/netfilter_bridge.h: header cleanup

2006-07-29 Thread Alexey Dobriyan
On Sat, Jul 29, 2006 at 12:55:28AM -0700, Andrew Morton wrote: > On Sat, 29 Jul 2006 11:45:45 +0400 > Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > > Header doesn't use anything from atomic.h. > > > OK, but.. > > > It fixes headers_check warning: > > > > include/linux/netfilter_bridge.h requi

Re: [PATCH] include/linux/netfilter_bridge.h: header cleanup

2006-07-29 Thread Andrew Morton
On Sat, 29 Jul 2006 11:45:45 +0400 Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > Header doesn't use anything from atomic.h. OK, but.. > It fixes headers_check warning: > > include/linux/netfilter_bridge.h requires asm/atomic.h, which does not exist asm/atomic.h _does_ exist. What's up with th

[PATCH] include/linux/netfilter_bridge.h: header cleanup

2006-07-29 Thread Alexey Dobriyan
Header doesn't use anything from atomic.h. It fixes headers_check warning: include/linux/netfilter_bridge.h requires asm/atomic.h, which does not exist Compile tested on alpha arm i386-up sparcsparc64-up x86_64 alpha-up i386 sparc64 sparc-upx86_64-up Signed-off-by: Al

Re: [RESEND 3/5] [NET]: Protocol Independant Policy Routing Rules Framework

2006-07-29 Thread Martin Josefsson
On Sat, 2006-07-29 at 03:40 +0200, Patrick McHardy wrote: > Martin Josefsson wrote: > > As a somewhat related note, I've just digged a bit through RCU land, > > talked to dipankar and mckenney, and discovered that rcu_read_lock() / > > rcu_read_unlock() aren't strictly needed in softirqs since pree