Re: [PATCH] nedev_rx_csum_fault backtrace unnecessary

2005-12-02 Thread Herbert Xu
a net_ratelimit() so DoS potentials are well, limited :) More importantly, you should never see this unless there is a hardware fault or a serious software bug. In either case having the backtrace is quite useful. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI

Re: [PATCH 06/13]: [IPV4/6]: Netfilter IPsec input hooks

2005-12-04 Thread Herbert Xu
://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH 05/13]: [IPV4/6]: Netfilter IPsec output hooks

2005-12-04 Thread Herbert Xu
err = 0; if (!skb-dst-xfrm) break; should read if (!skb-dst-xfrm) return dst_output(skb); Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page

Re: Fw: 2.6.15-rc5 gre tunnel checksum error

2005-12-12 Thread Herbert Xu
://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: Fw: 2.6.15-rc5 gre tunnel checksum error

2005-12-12 Thread Herbert Xu
://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: Fw: 2.6.15-rc5 gre tunnel checksum error

2005-12-14 Thread Herbert Xu
-by: Herbert Xu [EMAIL PROTECTED] Dave, please apply this if this works for Paul. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt diff --git a/net/ipv4

Re: [RFC]: IPsec tunnel wildcard addresses

2006-01-11 Thread Herbert Xu
for the acquire message. I've tested with racoon and it works fine. Any objections to this? The idea is good. My only question is can the same thing be done in user space (racoon) with a similar level of effort? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI

Re: [RFC]: IPsec tunnel wildcard addresses

2006-01-12 Thread Herbert Xu
address. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body

Re: ip_finish_output2: No header cache and no neighbour! in 2.6.15-git7

2006-01-13 Thread Herbert Xu
: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [PATCH][IPsec] AES-XCBC-MAC

2006-01-13 Thread Herbert Xu
is an encryption algorithm. So longer term I'd like to see both written as proper digest algorithms. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert

Re: [PATCH 1/1] LSM-IPsec SELinux Authorize

2006-01-16 Thread Herbert Xu
security policies and security associations with security contexts. Perhaps I'm missing something. But I thought only root can modify the SAD/SPD? -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key

Re: [PATCH 1/1] double xfrm_state_put bug fix

2006-01-17 Thread Herbert Xu
cxzhang [EMAIL PROTECTED] wrote: Fix for a minor double xfrm_state_put() bug. This is bogus. It takes two puts to really kill the state. The same thing happens in xfrm_user of course. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home

Re: [PATCH 1/1] double xfrm_state_put bug fix

2006-01-17 Thread Herbert Xu
. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt diff --git a/net/key/af_key.c b/net/key/af_key.c

Re: [PATCH] Remove MANY unneeded header files in net/core/filter.c

2006-01-18 Thread Herbert Xu
Kris Katterjohn [EMAIL PROTECTED] wrote: -#include linux/module.h Well I decided to double-check your patch. It seems that the very first removal is bogus. This file is needed for EXPORT_SYMBOL. Please recheck the rest. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert

Re: [PATCH] Remove MANY unneeded header files in net/core/filter.c

2006-01-18 Thread Herbert Xu
On Wed, Jan 18, 2006 at 06:42:06AM -0800, Kris Katterjohn wrote: Since it can't be a module and is always built in, we can just remove the EXPORT_SYMBOL()s, right? No, these are there so that other modules can use these symboles. -- Visit Openswan at http://www.openswan.org/ Email: Herbert

Re: [PATCH] Remove MANY unneeded header files in net/core/filter.c

2006-01-18 Thread Herbert Xu
+#include asm/bug.h +#include asm/byteorder.h Looks good. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list

Re: [PATCH] Remove MANY unneeded header files in net/core/filter.c

2006-01-18 Thread Herbert Xu
to me that it's probably not needed. No matter, though. You can't rely on that because linux/skbuff.h may only provide a forward declaration for the structure. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au

Re: [PATCH] Fix some whitespace issues in af_packet.c

2006-01-20 Thread Herbert Xu
)) - return -EFAULT; + if (get_user(len,optlen)) + return -EFAULT; Have a space after the comma please. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http

Re: Fw: [Bugme-new] [Bug 5803] New: Bridge code Oops with 2.6.14.2

2006-01-20 Thread Herbert Xu
: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [PATCH] b44: fix laptop carrier detect

2006-01-21 Thread Herbert Xu
/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: Badness in cache_free_debugcheck at mm/slab.c:2315

2006-01-21 Thread Herbert Xu
[c028d438] __alloc_skb+0x10e/0x117 This is due to the fclone patch. On the error path if we allocated an fclone then we will free it in the wrong pool. The following patch should fix the problem. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http://www.openswan.org

Re: Badness in cache_free_debugcheck at mm/slab.c:2315

2006-01-22 Thread Herbert Xu
-off-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt diff --git a/net/core/skbuff.c b/net/core/skbuff.c

Re: Fw: [Bugme-new] [Bug 5936] New: Openswan tunnels + netfilter problem

2006-01-23 Thread Herbert Xu
that they match more specific policies. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev

Re: [BUG] sky2 broken for Yukon PCI-E Gigabit Ethernet Controller 11ab:4362 (rev 19)

2006-01-24 Thread Herbert Xu
packet with tcpdump and show us what it looks like. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line

Re: Fw: [Bugme-new] [Bug 5936] New: Openswan tunnels + netfilter problem

2006-01-25 Thread Herbert Xu
is for it to be flexible enough so that you always get at least one chance to SNAT before the xfrm_policy is completely pinned down. This should leave the user with enough flexibility to do whatever they wish. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED

Re: [PATCH] ipv6 tcp_v6_send_synack: release the destination

2006-01-25 Thread Herbert Xu
to rtx_syn_ack altogether? As it is if we ever start using the dst argument these functions could break. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [PATCH (ready to apply?)] Additional options for resetting packet statistics

2006-01-25 Thread Herbert Xu
, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL

Re: [PATCH 1/3] Bridge: RCU barriers

2006-01-26 Thread Herbert Xu
://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH 1/3] Bridge: RCU barriers

2006-01-26 Thread Herbert Xu
... Sorry, I don't get it. How does adding a barrier in del_nbp fix this bug? In fact, as far as I can see, you need to add a pair of rcu_read_lock/rcu_read_unlock in br_device_event to make it work. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu

Re: [PATCH 1/3] Bridge: RCU barriers

2006-01-26 Thread Herbert Xu
exist anyway because both br_del_if and br_device_event are meant to be called under the RTNL. So what's going on here? -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au

Re: [PATCH 1/3] Bridge: RCU barriers

2006-01-26 Thread Herbert Xu
rcu_assign_pointer when you're setting it to NULL is useless because the mechanism that is required here is the quiescent state. On the other hand, when we set dev-br_port to a non-NULL value we do need the barrier. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI

Re: [PATCH 1/3] Bridge: RCU barriers

2006-01-26 Thread Herbert Xu
like a good plan. I'll go over it later today. Thanks Stephen, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send

Re: [IPV4]: Always set fl.proto in ip_route_newports

2006-01-26 Thread Herbert Xu
, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED

Re: [PATCH] ipv6: addrconf_ifdown fix dst refcounting.

2006-01-26 Thread Herbert Xu
by ip6_del_rt in case of an error. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev

Re: [IPV4]: Always set fl.proto in ip_route_newports

2006-01-27 Thread Herbert Xu
Patrick McHardy [EMAIL PROTECTED] wrote: Thats what I meant, expressed slightly more misunderstandable :) Now that I read it again indeed you were right all along :) -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http

Re: [BUG] sky2 broken for Yukon PCI-E Gigabit Ethernet Controller 11ab:4362 (rev 19)

2006-01-27 Thread Herbert Xu
protocol off the skb, we forgot to update the hardware RX checksum. This may lead to messages such as dsl0: hw csum failure. Similarly, we need to clear the hardware checksum flag when we use the existing packet to store the decompressed result. Signed-off-by: Herbert Xu [EMAIL PROTECTED

Re: [Patch 1/6] IPSEC: core updates

2006-01-28 Thread Herbert Xu
: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [RFC,NETLINK]: Add netlink_has_listeners() for checking for multicast listeners

2006-01-30 Thread Herbert Xu
= test_bit(group - 1, nl_table[sk-sk_protocol].listeners); + read_unlock(nl_table_lock); + return res; +} + Unfortunately this is a bit too heavy weight. He needs it on the packet rx/tx path. Perhaps RCU would help? Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu

Re: [RFC,NETLINK]: Add netlink_has_listeners() for checking for multicast listeners

2006-01-30 Thread Herbert Xu
it should be fine because it reduces down to just a test_bit operation. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from

Re: [PATCH 1/3] Bridge: RCU barriers

2006-01-30 Thread Herbert Xu
set p-dead, wait for the state to roll over, and proceed with the deletion. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe

Re: [PATCH 1/3] Bridge: RCU barriers

2006-01-30 Thread Herbert Xu
On Mon, Jan 30, 2006 at 03:44:15PM -0800, Stephen Hemminger wrote: Or could use STP state, but the extra pointers aren't that much anyway. Well it'll make the patch smaller and easier to read at least :) -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED

Re: [PATCH] bridge: fix device delete race.

2006-01-31 Thread Herbert Xu
(especially br_netfilter.c). So we might need some checks there as well. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from

Re: [PATCH] ipv6 tcp_v6_send_synack: release the destination

2006-01-31 Thread Herbert Xu
: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [PATCH] bridge: fix device delete race.

2006-01-31 Thread Herbert Xu
that started this thread. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev

Re: [PATCH] 1/1 net/core: use USEC_PER_SEC and line spacing

2006-01-31 Thread Herbert Xu
/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [lock validator] inet6_destroy_sock(): soft-safe - soft-unsafe lock dependency

2006-02-01 Thread Herbert Xu
is totally redundant since all IPv6 sockets use inet_sock_destruct as their socket destructor which always cleans up the dst anyway. So the solution is to simply remove the call. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu

Re: [PATCH] 1/1 net/core: use USEC_PER_SEC and line spacing

2006-02-01 Thread Herbert Xu
Ian McDonald [EMAIL PROTECTED] wrote: On 2/1/06, Herbert Xu [EMAIL PROTECTED] wrote: Ian McDonald [EMAIL PROTECTED] wrote: --- a/net/core/sock.c +++ b/net/core/sock.c @@ -162,7 +162,8 @@ static int sock_set_timeout(long *timeo_ if (tv.tv_sec == 0 tv.tv_usec == 0

Re: [PATCH] ipv6: addrconf_ifdown fix dst refcounting.

2006-02-02 Thread Herbert Xu
a dst reference count of 1 while it's alive. This is dropped just before we kfree the ifp object. Therefore we know that in __ipv6_ifa_notify we will always hold that count. This bug was found by Eric W. Biederman. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http

Re: [PATCH] ipv6: addrconf_ifdown fix dst refcounting.

2006-02-02 Thread Herbert Xu
Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED

Re: [PATCH 0/0] AES-XCBC-MAC

2006-02-02 Thread Herbert Xu
: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [PATCH] ipv6: addrconf_ifdown fix dst refcounting.

2006-02-02 Thread Herbert Xu
: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: slab corruption in 2.6.16rc1-git4

2006-02-03 Thread Herbert Xu
on a freed dst entry. So this probably ties in with your report about dst badness. Unfrotunately, I was able to reproduce this bug exactly once with isic and since then no matter what I do it just works perfectly. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED

Re: network delays, mysterious push packets

2006-02-06 Thread Herbert Xu
chunks of data (whose size is just over 1MB) via tcp. Please reproduce with something more current and report to the correct mailing list (netdev@vger.kernel.org). Please include a packet dump too. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL

Re: instrumentation for TCP MTU probing

2006-02-06 Thread Herbert Xu
David S. Miller [EMAIL PROTECTED] wrote: . But, thinking about this some more, it might actually be best to just add them anyways to TcpExt: and get netstat's limitation fixed. Any other opinions? Use netlink? -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI

Re: [PATCH] snap: needs hardware checksum fix

2006-02-07 Thread Herbert Xu
. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt diff --git a/drivers/net/ppp_generic.c b/drivers

Re: Strange IPsec freeze/partial fix

2006-02-07 Thread Herbert Xu
seems to go wrong. I suggest that we simply bail out always. If the dst decides to die on us later on, the packet will be dropped anyway. So there is no great urgency to retry here. Once we have the proper resolution queueing, we can then do the retry again. Signed-off-by: Herbert Xu [EMAIL

Re: [PATCH] [IPVS] Shrink ip_vs_*.c includes

2006-02-07 Thread Herbert Xu
Horms [EMAIL PROTECTED] wrote: Dave, please apply. Looks bogus to me. Why are we removing linux/modules.h from ip_vs_app.c when it uses things like EXPORT_SYMBOL? -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http

Re: [PATCH] [IPVS] Shrink ip_vs_*.c includes

2006-02-07 Thread Herbert Xu
of its symbols are used in the source file. Or if this is too tedious just leave it alone. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [PATCH 0/4][CRYPTO][IPsec] support XCBC

2006-10-19 Thread Herbert Xu
, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL

Re: [PATCH 1/4][CRYPTO][IPsec] pass the flags to the internal tfm allocation

2006-10-21 Thread Herbert Xu
new code that uses it. In the medium term this code should be converted to use the block-cipher interface. For now, please either make a local copy of the xor function or just export the one from crypto/cbc.c. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI

Re: [PATCH 4/4] add the algorithm to IPsec

2006-10-21 Thread Herbert Xu
sense for new algorithms as there aren't any existing configurations for us to worry about yet. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [PATCH 2/6] [CRYPTO] added the code of Camellia cipher algorithm.

2006-10-21 Thread Herbert Xu
fixed it up in my tree. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev

Re: [PATCH 1/4][CRYPTO][IPsec] pass the flags to the internal tfm allocation

2006-10-23 Thread Herbert Xu
]? Or could you re-use them? They should be fine. I'll let you know if I run into any problems applying them :) Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au

Re: [RFC] d80211: switch crypto to use block ciphers

2006-10-25 Thread Herbert Xu
On Wed, Oct 25, 2006 at 03:41:50PM -0700, David Kimdon wrote: I don't actually know the implications of that first hunk where we do arc4 - ecb(arc4). I look though the various commits by Herbert Xu and that appeared to be the right thing. Basically if you encrypt/decrypt more than a block

Re: 2.6.18 forcedeth GSO panic on send

2006-10-26 Thread Herbert Xu
to see the first oops including the print out from skb_over_panic. Could you try booting with pause_on_oops=1 or perhaps use a serial console? Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key

Re: 2.6.18 forcedeth GSO panic on send

2006-10-29 Thread Herbert Xu
be rare for GSO. In fact it still remains to be seen what exactly created the linear packets that triggered this bug. Basically the only time this should happen is if someone enables GSO emulation on an interface that does not support SG. Signed-off-by: Herbert Xu [EMAIL PROTECTED] The fact

[SCTP]: Always linearise packet on input

2006-10-29 Thread Herbert Xu
and safe solution that simply linearises all packets on input. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Sridhar, could you please organise an audit of SCTP to make sure that it deals with skb fragments (both pages and frag_list) in a safe manner? Basically before you do an skb_pull or access skb-data

Re: [take1] d80211: switch crypto to use new ciphers API

2006-10-30 Thread Herbert Xu
a single block at a time. Switch d80211 software crypto to use the new cipher API. Signed-off-by: David Kimdon [EMAIL PROTECTED] Thanks David. Looks good here. Acked-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI

Re: [SCTP]: Always linearise packet on input

2006-10-30 Thread Herbert Xu
a preceding pskb_may_pull call, then you have a problem. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send

Re: [PATCH] 2.6.19-rc4 - netlink messages created with bad flags in soft_irq context

2006-10-31 Thread Herbert Xu
changing netlink. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev

Re: SKB BUG: Invalid truesize, current git

2006-11-06 Thread Herbert Xu
-linear bits from the original skb, it needs to count them in the truesize field of the new skb. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http

Re: [PATCH]Fix BUG of ip_rt_send_redirect()

2006-11-16 Thread Herbert Xu
fields to their original states. Perhaps we can combine that with the GC. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe

Re: IPv4: ip_options_compile() how can we avoid blowing up on a NULL skb???

2006-11-16 Thread Herbert Xu
supposed to be used. This function either constructs an opts structure from a packet, or it verifies the validity of a suspect opts structure (without a packet). In the latter case, both opt and opt-is_data should be non-zero. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu

Re: IPv4: ip_options_compile() how can we avoid blowing up on a NULL skb???

2006-11-16 Thread Herbert Xu
David Miller [EMAIL PROTECTED] wrote: I'm very happy to accept a patch which assert's this using BUG() checks :-) A BUG() won't be necessary because the NULL pointer dereferences will OOPS anyway. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL

Re: IPv4: ip_options_compile() how can we avoid blowing up on a NULL skb???

2006-11-16 Thread Herbert Xu
Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

Re: Broken commit: [NETFILTER]: ipt_REJECT: remove largely duplicate route_reverse function

2006-11-28 Thread Herbert Xu
://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: Broken commit: [NETFILTER]: ipt_REJECT: remove largely duplicate route_reverse function

2006-11-28 Thread Herbert Xu
, but it's not OK to die. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev

Re: Broken commit: [NETFILTER]: ipt_REJECT: remove largely duplicate route_reverse function

2006-11-28 Thread Herbert Xu
at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH] lockdep: fix sk-sk_callback_lock locking

2006-11-28 Thread Herbert Xu
where it dead locks. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev

Re: [PATCH] lockdep: fix sk-sk_callback_lock locking

2006-11-29 Thread Herbert Xu
://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: Multiple end-points behind same NAT

2006-12-01 Thread Herbert Xu
/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: Broken commit: [NETFILTER]: ipt_REJECT: remove largely duplicate route_reverse function

2006-11-30 Thread Herbert Xu
the current dst and rely on the last-ditch reallocation to fix things up if needed. For standard MTU-sized packets this discussion is moot since we have 2K of memory in each chunk. However, for ACKs it could save a bit of memory. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu

Re: [PATCH][IPSEC][6/7] inter address family ipsec tunnel

2006-12-03 Thread Herbert Xu
. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message

Re: dm-crypt changes in git-net tree

2006-12-05 Thread Herbert Xu
this. [CRYPTO] dm-crypt: Make iv_gen_private a union Rather than stuffing integers into pointers with casts, let's use a union. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http

[NET]: Allow partial checksums to be forwarded

2007-03-26 Thread Herbert Xu
of this hack (where it creates an extra bit in the skbuff to essentially mirror ip_summed without being destroyed by the forwarding code). So here is the patch that lets us get rid of the hack by preserving CHECKSUM_PARTIAL on forwarded packets. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers

Re: [NET]: Allow partial checksums to be forwarded

2007-03-26 Thread Herbert Xu
On Tue, Mar 27, 2007 at 02:36:48PM +1000, Herbert Xu wrote: Looks like I forgot to finish the checksum stuff for Xen last time around. [NET]: Allow partial checksums to be forwarded Hang on, this only gets rid of half the hack. Let me change this first so that we can get rid of them all

[NET]: Allow ip_summed to be forwarded as is

2007-03-26 Thread Herbert Xu
now done that again so it should definitely be safe. So here is the patch that lets us get rid of the hack by preserving ip_summed on forwarded packets. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED

Re: [NET]: Allow ip_summed to be forwarded as is

2007-03-26 Thread Herbert Xu
On Tue, Mar 27, 2007 at 03:22:43PM +1000, Herbert Xu wrote: [NET]: Allow ip_summed to be forwarded as is Nevermind, that one is broken too. I forgot to update the complete checksums when forwarding. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL

[NET]: Allow forwarding of ip_summed except CHECKSUM_COMPLETE

2007-03-26 Thread Herbert Xu
is the patch that lets us get rid of the hack by preserving ip_summed (mostly) on forwarded packets. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP

Re: [NET]: Allow forwarding of ip_summed except CHECKSUM_COMPLETE

2007-03-27 Thread Herbert Xu
to CHECKSUM_NONE, so further checks will fail, others seem to either ignore them or handle them together with CHECKSUM_NONE. That's OK, Linux/Xen never generates any CHECKSUM_PARTIAL fragments. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page

Re: [IPV6]: Do not set IF_READY if device is down

2007-03-27 Thread Herbert Xu
later on should the device ever become ready. Signed-off-by: Herbert Xu [EMAIL PROTECTED] Signed-off-by: David S. Miller [EMAIL PROTECTED] This commit seems to have broken NetworkManager, which removes the link-local IPv6 address from each wireless interface while it's only

Re: [PATCH] NET: Add TCP connection abort IOCTL

2007-03-27 Thread Herbert Xu
and call shutdown(2) on the fd. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev

Re: Xen netfront fixes for changed skbuff in net-2.6.22.git

2007-03-28 Thread Herbert Xu
/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [Xen-devel] Re: Xen netfront fixes for changed skbuff in net-2.6.22.git

2007-03-28 Thread Herbert Xu
, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED

Re: [PATCH 1/9] AF_RXRPC: Add blkcipher accessors for using kernel data directly

2007-04-02 Thread Herbert Xu
. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL

Re: IPsec PMTUD problem

2007-04-03 Thread Herbert Xu
to distinguish the two pairs. Of course the easy work-around is to use distinct addresses within IPsec tunnels. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au

Re: [PATCH 1/9] AF_RXRPC: Add blkcipher accessors for using kernel data directly

2007-04-03 Thread Herbert Xu
://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

[NET]: Treat CHECKSUM_PARTIAL as CHECKSUM_UNNECESSARY

2007-04-03 Thread Herbert Xu
Hi: Here's the other patch. [NET]: Treat CHECKSUM_PARTIAL as CHECKSUM_UNNECESSARY When a transmitted packet is looped back directly, CHECKSUM_PARTIAL maps to the semantics of CHECKSUM_UNNECESSARY. Therefore we should treat it as such in the stack. Signed-off-by: Herbert Xu [EMAIL PROTECTED

Re: NIC data corruption

2007-04-03 Thread Herbert Xu
://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [RFT] proxy arp deadlock possible

2007-04-04 Thread Herbert Xu
: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http

<    1   2   3   4   5   6   7   8   9   10   >