Re: [PATCH] crypto: resource release functions ought to check for NULL (crypto_free_tfm)

2005-04-18 Thread Herbert Xu
or all callers to In general I'd only do this when most of the callers are doing the NULL check. As that seems to be the case here, I agree with your change. I've applied it to my tree. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~}

Re: [RFC][PATCH 2/4] AES assembler implementation for x86_64

2005-04-18 Thread Herbert Xu
e patches yet, but if it were possible to share code such as gen_tab then it would be very nice indeed. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.a

Re: [PATCH] crypto: resource release functions ought to check for NULL (crypto_free_tfm)

2005-04-19 Thread Herbert Xu
is to the subsystem maintainers, which would all be Dave in this case :) -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from t

Re: [RFC] CryptoAPI & Compression

2005-04-19 Thread Herbert Xu
e-like CryptoAPI > compression interface? Well if you can show me what such an interface looks like then we can discuss it. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: h

Re: [RFC] CryptoAPI & Compression

2005-04-19 Thread Herbert Xu
. You just need to call the normal compress method with the input length clamped by the output buffer size. If the function returns OK then it's compressible, otherwise it isn't. You can even do the existing JFFS loop this way too. -- Visit Openswan at http://www.openswan.org/ Email: H

Re: [PATCH] Fix cryptoapi deflate not handling PAGE_SIZE chunks.

2005-07-30 Thread Herbert Xu
mp;zerostuff; > + stream->avail_out = 1; > + ret = zlib_deflate(stream, Z_FINISH); > + } > } > ret = 0; > *dlen = stream->total_out; Hi Nigel, I need a bit more information about this patch. Do you have a specific i

Re: LZF Cryptoapi support.

2005-07-30 Thread Herbert Xu
o buffers used anyway? > + if (!ctx->page_buffer) { > + free_page((unsigned long)ctx->local_buffer); > + lzf_compress_exit(ctx); This is a double-free of local_buffer. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <

Re: [PATCH] Fix cryptoapi deflate not handling PAGE_SIZE chunks.

2005-07-30 Thread Herbert Xu
r way? If so, I can dig out the old (non crypto api) code. Well if you could give me a snippet of code that actually uses this stuff to compress pages then I might have a better idea of what it's trying to do. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: H

Re: 2.6.13-rc4 - kernel panic - BUG at net/ipv4/tcp_output.c:918

2005-08-03 Thread Herbert Xu
r tcp_transmit_skb? Perhaps we should only transmit one MSS in this case? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To un

Re: 2.6.13-rc4 - kernel panic - BUG at net/ipv4/tcp_output.c:918

2005-08-04 Thread Herbert Xu
On Thu, Aug 04, 2005 at 01:33:29PM +1000, herbert wrote: > > So I suppose we should reset cwnd_quota after tcp_transmit_skb? Please try this patch to see if this is really the problem or not. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMA

[TCP]: Fix TSO cwnd caching bug

2005-08-04 Thread Herbert Xu
the cwnd value is always reread after each tcp_transmit_skb call. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gond

Re: tcpdump confused with NAT-T+IPSec Packets

2005-08-22 Thread Herbert Xu
e packet is likely to be NAT-T or ESP. The patch > for this follows the end of this mail and seems to work quite well. This bug has already been fixed in 2.6.12. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.

Re: [PATCH] crypto_free_tfm callers do not need to check for NULL

2005-08-31 Thread Herbert Xu
re. > I was also asked previously to make the patch against mainline and not -mm, > so this patch is against 2.6.13. Thanks for you work and patience Jesper, this patch looks good to me. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> -- Visit Openswan at http://www.openswan.org/ Em

Re: via hardware accelerated crypto support

2005-09-01 Thread Herbert Xu
your kernel. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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 lin

Re: Kernel 2.6.13 breaks libpcap (and tcpdump).

2005-09-04 Thread Herbert Xu
field correctly. This patch should make it work again. I tried to move this logic into the new load_pointer function but it all came out messy so I simply rolled it back. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Cheers, -- Visit Openswan at http://www.openswan.org/ Emai

Re: Potential IPSec DoS/Kernel Panic with 2.6.13

2005-09-04 Thread Herbert Xu
you could jot down the important bits of the panic message (IP, Call-Trace) it would help me find the problem much quicker. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: htt

Re: Fw: [Bugme-new] [Bug 5194] New: IPSec related OOps in 2.6.13

2005-09-06 Thread Herbert Xu
The boundary check in the standard multi-block cipher processors are broken when nbytes is not a multiple of bsize. In those cases it will always process an extra block. This patch corrects the check so that it processes at most nbytes of data. Signed-off-by: Herbert Xu <[EMAIL PROT

Re: [patch 1/3] move WARN_ON() out of line

2008-01-04 Thread Herbert Xu
ar akpm cringe from here... You don't have to change all of them at once. Just create a new function that does take a level and make the old dump_stack and WARN_ON call that then slowly convert everything else across if so desired. Cheers, -- Visit Openswan at http://www.openswan.org/ Email

Re: 2.6.24-rc6: possible recursive locking detected

2008-01-04 Thread Herbert Xu
1310.678460] #3: (clock-AF_INET){-.-?}, at: [] > > > sock_def_readable+0x1e/0x80 > > > [ 1310.679250] #4: (&q->lock){++..}, at: [] > > > __wake_up+0x1b/0x50 The net part might just be a red herring, since the problem is that __wake_up is somehow reentering

Re: sparc oops in ip_fast_csum

2008-01-05 Thread Herbert Xu
um IP header length. This breaks because some ip_fast_csum implementations assume that which is quite reasonable. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://

Re: sparc oops in ip_fast_csum

2008-01-05 Thread Herbert Xu
we'd have to reload the values from skb. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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: sparc oops in ip_fast_csum

2008-01-05 Thread Herbert Xu
job. Now I can't complain too much because I wasn't able to spend any time in 2007 working on it. But it's definitely high on my todo list for 2008. Oh and Al, your effort in going through all the ip_fast_csum callers is much appreciated! Thanks, -- Visit Openswan at http://www.opens

Re: [PATCH 0/7] sg_ring: a ring of scatterlist arrays

2008-01-07 Thread Herbert Xu
le list in order to add just a single block at the end. While with sg_ring we could just put the original list along with the new one in a new list. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gond

Re: [Patch] xfrm_policy_destroy: rename and relative fixes

2008-01-07 Thread Herbert Xu
> And along with some instances that call xfrm_policy_alloc > but not using xfrm_policy_destroy to destroy the resource, > fix them. > > Cc: David Miller <[EMAIL PROTECTED]> > Cc: Herbert Xu <[EMAIL PROTECTED]> > Signed-off-by: WANG Cong <[EMAIL PROTECTED]>

Re: [PATCH -mm 2/4] hifn_795x: fixup container_of() usage

2008-01-08 Thread Herbert Xu
On Tue, Jan 08, 2008 at 11:44:34AM +0300, Alexey Dobriyan wrote: > [PATCH -mm 2/4] hifn_795x: fixup container_of() usage > > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Patch applied. Thanks. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~}

Re: AF_UNIX MSG_PEEK bug?

2008-01-09 Thread Herbert Xu
way is a plus. However, if you really want this to happen it would help if you had attached a patch :) Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~

Re: LRW/XTS + Via Padlock Bug in 2.6.24-rc7?

2008-01-09 Thread Herbert Xu
esp: f7e89dc8 Thanks for the report. It would appear that your CPU goes one step further than the other report and insists on having two blocks in the destination too. Please let me know whether this patch fixes the problem. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Her

Re: LRW/XTS + Via Padlock Bug in 2.6.24-rc7?

2008-01-10 Thread Herbert Xu
ent for variables on the stack in the kernel. As you can see from ESI/EDI above the temporary buffer is unaligned. Please try this patch instead. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au

Re: LRW/XTS + Via Padlock Bug in 2.6.24-rc7?

2008-01-10 Thread Herbert Xu
xts template. As such you won't see it until someone tries to use it or you instantiate it explicitly (which isn't possible yet :) Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.

Re: [Patch] net/xfrm/xfrm_policy.c: Some small improvements

2007-12-06 Thread Herbert Xu
ith 'size_t' (since it is unsigned, compared to (some) > 'int')? I agree with Dave. There are so many useful things that we can do (and need to do) in IPsec that bool/size_t conversions just add churn without adding much value. Thanks, -- Visit Openswan at http://www.op

Re: Add LZO compression support to cryptoapi

2007-12-07 Thread Herbert Xu
anks a lot Zoltan! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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 linux-kern

Re: [PATCH] [NET]: Fix Ooops of napi net_rx_action.

2007-12-11 Thread Herbert Xu
t we have three it's even more confusing. I just checked and indeed e1000e seems to be missing the NAPI fix that was applied to e1000. Of course it doesn't rule out the possibility of another NAPI bug in e1000. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{P

Re: [2.6 patch] crypto/geode-aes.c: add __dev{init,exit} annotations

2007-12-11 Thread Herbert Xu
On Tue, Dec 11, 2007 at 11:19:50PM +0100, Adrian Bunk wrote: > This patch adds __dev{init,exit} annotations. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Applied to cryptodev. Thanks Adrian. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~}

Re: aead_geniv_* [crypto/seqiv.ko] undefined! (MMOTM stamp-2007-12-13-15-37)

2007-12-13 Thread Herbert Xu
" [crypto/seqiv.ko] undefined! > ERROR: "aead_geniv_init" [crypto/seqiv.ko] undefined! > ERROR: "aead_geniv_free" [crypto/seqiv.ko] undefined! > make[1]: *** [__modpost] Error 1 Sorry. I've added the following patch to fix this. Thanks, -- Visit Openswan at h

Re: 2.6.24-rc5-mm1

2007-12-13 Thread Herbert Xu
re that udp_stats_in6 is always available. Otherwise we'd either have to requrie the external users to be built as modules or ipv6 to be built-in. This isn't too bad because udp_stats_in6 is just a pair of pointers plus an EXPORT, e.g., just 40 (16 + 24) bytes on x86-64. Signed-off-by: Herbert

Re: (was Re: 2.6.24-rc5-mm1) crypto/authenc.c select symbol in Kconfig

2007-12-14 Thread Herbert Xu
g this up. > --- crypto/Kconfig.orig 2007-12-13 18:44:19.0 +0100 > +++ crypto/Kconfig2007-12-13 18:39:00.0 +0100 BTW please generate patch -p1 patches in future. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>

Re: Vague maybe ppp-related panic report for 2.6.23-rc9

2007-10-04 Thread Herbert Xu
I couldn't see anything obvious in it but maybe someone else can. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apan

Re: [NET] IPv6 oops bisected

2007-10-07 Thread Herbert Xu
ev->nd_net->loopabck_dev to dev. The issue here is which namespace are we in if dev is NULL. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herb

Crypto Update for 2.6.24

2007-10-09 Thread Herbert Xu
(essentially blkcipher + hash). * Added authenc wrapper as first aead algorithm. * Preparatory work for CTR (Counter) mode support. * Better loading of optimised algorithm modules. Adrian Bunk (2): [CRYPTO] Kconfig: Remove "default m"s [CRYPTO] drivers/Kconfig: Remove "default

Re: Trailing periods in kernel messages

2007-12-21 Thread Herbert Xu
l stop. However, it is not clear to me that this is the case for all or even most kernel printk messages. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au

Re: Trailing periods in kernel messages

2007-12-21 Thread Herbert Xu
t;current offset" is part of the predicate as opposed to the subject. This can be seen from the fact that "offset" is singular while "initialise" did not take on its third-person singular form of "initialises". Cheers, -- Visit Openswan at http://www.o

Re: [PATCH 1/3] SG: Move functions to lib/scatterlist.c and add sg chaining allocator helpers

2007-12-21 Thread Herbert Xu
#x27;s do it properly as Rusty has demonstrated so that we support back-chaining as well as frong-chaining. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.or

Re: [PATCH 0/5] sg_ring for scsi

2007-12-21 Thread Herbert Xu
sit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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 linux-kernel" in the body of a mess

Re: 2.6.24-rc6-mm1

2007-12-23 Thread Herbert Xu
cond_resched with CONFIG_PREEMPT on (apart from the potential to uncover more bugs like this one)? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herb

Re: "ip neigh show" not showing arp cache entries?

2007-12-24 Thread Herbert Xu
ile for me to debug this any further until you manage to reproduce it with the current kernel. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbe

Re: OOPS: 2.6.23.11 in PadLock-AES when used in LRW-Mode

2007-12-26 Thread Herbert Xu
ryptecb always processes an even number of blocks. Please let me know if the following patch fixes the problem for you. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gond

Re: 2.6.24-rc6-mm1

2007-12-29 Thread Herbert Xu
__fput+0xc1/0x230 > > > [93436.939327] [] fput+0x16/0x20 > > > [93436.939329] [] filp_close+0x56/0x90 > > > [93436.939331] [] sys_close+0xa6/0x110 > > > [93436.939335] [] system_call_after_swapgs+0x7b/0x80 > > >From code inspection I would blame the

Re: [PATCH -mm] crypto: scatterwalk.h needs sched.h

2007-12-31 Thread Herbert Xu
t Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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 linux-kernel" in the body of a message to [EM

Re: 2.6.24-rc6-mm1

2008-01-01 Thread Herbert Xu
a double-free on an skb. Since you're the only person who can reproduce this, we really need your help to track this down. Since bisecting the mm tree is not practical, you could start by checking whether the bug is in mm only or whether it affects rc6 too. Thanks, -- Visit Openswan at htt

Re: [PATCH] Force UNIX domain sockets to be built in

2008-01-02 Thread Herbert Xu
IG_UNIX prompt itself will remain even without CONFIG_EMBEDDED. This I think is quite pointless. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herber

Re: 2.6.24-rc6-mm1

2008-01-02 Thread Herbert Xu
of interest would be git-nfsd and git-net. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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 t

Re: [PATCH] [NET]: Fix TX bug VLAN in VLAN

2007-11-29 Thread Herbert Xu
isit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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 linux-kernel" in the body of a message

Re: [PATCH] [RESEND] crypto test: use print_hex_dump from kernel.h instead

2007-11-29 Thread Herbert Xu
f, len, false); > > } > > uninlining this function shrinks crypto/tcrypt.o's .text from 20,009 bytes > down to 19,701. > > inlining is almost always wrong. I agree. Please do as Andrew suggests and resubmit. Thanks, -- Visit Openswan at http://www.openswan.org/ Ema

Re: Add LZO compression support to cryptoapi

2007-11-29 Thread Herbert Xu
them (you can model it after deflate) and I'll add this to cryptodev-2.6. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - T

Re: [PATCH] [RESEND] crypto test: use print_hex_dump from kernel.h instead

2007-11-29 Thread Herbert Xu
On Fri, Nov 30, 2007 at 09:20:34AM +0800, rae l wrote: > > Cc: Randy Dunlap <[EMAIL PROTECTED]> > Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> Patch applied. Thanks a lot Denis! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL

Re: [PATCH] Remove rcu_assign_pointer() penalty for NULL pointers

2007-11-30 Thread Herbert Xu
l-archive.com/[EMAIL PROTECTED]/msg54852.html > > Tested on x86_64 and ppc64, also compiled the four cases (NULL/non-NULL > and const/non-const) with gcc version 4.1.2, and hand-checked the > assembly output. > > Signed-off-by: Paul E. McKenney <[EMAIL PROTECTED]> Acked-by: Herb

Re: [PATCH] AF_RXRPC: Configure crypto correctly for AF_RXRPC

2007-11-30 Thread Herbert Xu
On Wed, Nov 28, 2007 at 02:37:53PM +, David Howells wrote: > AF_RXRPC uses the crypto services, so should depend on or select CRYPTO. > > Signed-off-by: David Howells <[EMAIL PROTECTED]> Patch applied to net-2.6. Thanks. -- Visit Openswan at http://www.openswan.org/ Email: H

Re: [PATCH 0/4] Sysctl namespace support

2007-11-30 Thread Herbert Xu
d them all to net-2.6.25 with Andrew's fixes included. Thanks Eric. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscrib

Re: [PATCH] AF_RXRPC: Configure crypto correctly for AF_RXRPC

2007-11-30 Thread Herbert Xu
Ingo Molnar <[EMAIL PROTECTED]> wrote: > >> Patch applied to net-2.6. Thanks. > > aimed at 2.6.24 merging, right? Yep. net-2.6 is for 2.6.24 while net-2.6.25 is for 2.6.25. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL

Re: [PATCH 3/3] [UDP6]: Counter increment on BH mode

2007-12-03 Thread Herbert Xu
On Mon, Dec 03, 2007 at 02:49:12PM +0300, Alexey Kuznetsov wrote: > On Mon, Dec 03, 2007 at 10:39:35PM +1100, Herbert Xu wrote: > > So we need to fix this, and whatever the fix is will probably render > > the BH/USER distinction obsolete. > > Hmm, I would think opposite.

Re: [PATCH 3/3] [UDP6]: Counter increment on BH mode

2007-12-03 Thread Herbert Xu
On Mon, Dec 03, 2007 at 10:54:35PM +1100, Herbert Xu wrote: > > Hmm, wasn't someone else talking about a non-atomic version of atomic > ops lately (i.e., atomic with respect to the local CPU only)? Perhaps > this is the killer app for it :) Never mind, we already have that

Re: HMAC broken on s390

2007-12-03 Thread Herbert Xu
chaining I had before worked on all architectures :) I suppose either we'll have to do our own chaining again or implement it for all architectures. I'll look into this. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECT

Re: [PATCH 3/3] [UDP6]: Counter increment on BH mode

2007-12-03 Thread Herbert Xu
made it work. It's better to declare these inclusions explicitly as otherwise they may break on less common architectures later. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP

Re: HMAC broken on s390

2007-12-04 Thread Herbert Xu
mation. I'll back out my conversion patch. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this li

Re: NET: ASSERT_RTNL in __dev_set_promiscuity makes debug warning

2007-12-04 Thread Herbert Xu
ve been busy so I haven't completed the patches yet. But as this problem is not urgent let's not just put on a bandaid. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP

Re: sockets affected by IPsec always block (2.6.23)

2007-12-04 Thread Herbert Xu
to implement the larval IPsec dst stuff that we talked about. For now let's just revert to the old behaviour on non-blocking sockets. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED

Re: [PATCH] NET: ASSERT_RTNL in __dev_set_promiscuity makes debug warning

2007-12-04 Thread Herbert Xu
more to this than just changing the multicast handling. We also talked about consolidating the driver interface so that all these calls have the same environment rather than the mix-and-match that we have now. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>H

Re: sockets affected by IPsec always block (2.6.23)

2007-12-04 Thread Herbert Xu
ault became 1? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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 li

Re: sockets affected by IPsec always block (2.6.23)

2007-12-04 Thread Herbert Xu
On Tue, Dec 04, 2007 at 11:12:00PM -0800, David Miller wrote: > From: Herbert Xu <[EMAIL PROTECTED]> > Date: Wed, 5 Dec 2007 17:51:32 +1100 > > > Does anybody actually need the 0 setting? What would we break if > > the default became 1? > > I bet there are UDP a

Re: sockets affected by IPsec always block (2.6.23)

2007-12-04 Thread Herbert Xu
hing to just sit and wait > for the connect() to succeed instead of failing. Hmm, but connect(2) should succeed in that case thanks to the blackhole route, no? The subsequent SYNs will then be dropped until the IPsec SAs are in place. Cheers, -- Visit Openswan at http://www.openswan.org/ Email

Re: sockets affected by IPsec always block (2.6.23)

2007-12-05 Thread Herbert Xu
On Wed, Dec 05, 2007 at 01:55:58AM -0800, David Miller wrote: > > If it hits sysctl_tcp_syn_retries SYN attempts, the connect will hard > fail. Right. Let's just forget about this until we have a queueing system :) Cheers, -- Visit Openswan at http://www.openswan.org/ Email: He

Re: Is there any word about this bug in gcc ?

2007-11-19 Thread Herbert Xu
affected so presumably everything in between is too. Gcc 2.95 is not affected. I don't have the intervening versions to test. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: Is there any word about this bug in gcc ?

2007-11-19 Thread Herbert Xu
this with the same level of urgency as security vulnerabilities, especially in light of Shamir's recent note on maths errors. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP

[KERNEL]: Avoid divide in IS_ALIGN

2007-11-20 Thread Herbert Xu
-off-by: Herbert Xu <[EMAIL PROTECTED]> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- diff --git a/include/linux/kerne

Re: [HIFN 00/03]: RNG support v2

2007-11-20 Thread Herbert Xu
On Sun, Nov 18, 2007 at 10:32:52PM +0100, Patrick McHardy wrote: > These patches add support for using the HIFN rng. All applied. Thanks a lot Patrick! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org

Re: [RFC/PATCH] SO_NO_CHECK for IPv6

2007-11-21 Thread Herbert Xu
sented, > > based on a reading of net/ipv4/udp.c. > > Disagree. UDP checksum is mandatory in IPv6. Right, IPv6 doesn't have a header checksum so the UDP checksum must be there. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECT

Re: [RFC/PATCH] SO_NO_CHECK for IPv6

2007-11-21 Thread Herbert Xu
s. Hardware > checksumming is fine, as long as its "free." No matter how strong your underlying checksumming is it's not going to protect the IPv6 header is it :) Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http:

Re: [bug] xfrm_state_lock: possible circular locking dependency detected

2007-11-23 Thread Herbert Xu
pretty > stock setup. Thanks for the report Ingo! This is indeed a regression caused by: commit 050f009e16f908932070313c1745d09dc69fd62b Author: Herbert Xu <[EMAIL PROTECTED]> Date: Tue Oct 9 13:31:47 2007 -0700 [IPSEC]: Lock state when copying non-atomic fields to user-space

Re: [RFC/PATCH] SO_NO_CHECK for IPv6

2007-11-23 Thread Herbert Xu
is the whole point, IPv6 unlike IPv4 does not have IP header checksums so the high-level needs to protect it by checksumming the pseudo-header. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herber

Re: [PATCH 3/3] dm-crypt: Add support for stream ciphers using blkcipher interface

2007-11-23 Thread Herbert Xu
e current format as well which can coexist with the new format forever. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To un

Re: 2.6.24-rc2-mm1: kcryptd vs lockdep

2007-11-23 Thread Herbert Xu
nd_test then that comes with an implicit memory barrier. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this

Re: [HIFN 00/03]: RNG support v2

2007-11-24 Thread Herbert Xu
ware: www.hifn.com. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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

Re: [RFC/PATCH] SO_NO_CHECK for IPv6

2007-11-25 Thread Herbert Xu
is not > talking about disabling the send checksum, but the receive checksum. He > knows that he does not need it. You must be in some other thread because this one started with a patch to disable sender checksums. Oh and please do keep CCs on this list. Cheers, -- Visit Openswan at http://www

Re: [PATCH] [NET]: Fix TX bug VLAN in VLAN

2007-11-26 Thread Herbert Xu
gt; I'm afraid, queued packet before vconfig set_flag would do that. Yes, AF_PACKET would do that. So you should check both. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: h

Re: [PATCH 1/2] crypto test: use print_hex_dump from

2007-11-26 Thread Herbert Xu
s_print test. They just turn up as crap on Unicode terminals. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscr

Re: [2.6 patch] ipv4/arp.c:arp_process(): remove bogus #ifdef mess

2007-11-26 Thread Herbert Xu
below. Thanks Adrian. Patch applied to net-2.6. Do we need this for stable too? Chers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.tx

Re: [PATCH 1/4] xfrm_hash: kmalloc + memset conversion to kzalloc

2007-11-26 Thread Herbert Xu
m_hash: kmalloc + memset conversion to kzalloc > fix to avoid memset entirely. Patch applied. Thanks everyone! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~

Re: [PATCH 2/4] fib_semantics: kmalloc + memset conversion to kzalloc

2007-11-26 Thread Herbert Xu
On Mon, Nov 26, 2007 at 10:24:03AM +, Joonwoo Park wrote: > fib_semantics: kmalloc + memset conversion to kzalloc > fix to avoid memset entirely. Also applied. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gond

Re: [PATCH 3/4] fib_hash: kmalloc + memset conversion to kzalloc

2007-11-26 Thread Herbert Xu
On Mon, Nov 26, 2007 at 10:24:03AM +, Joonwoo Park wrote: > fib_hash: kmalloc + memset conversion to kzalloc > fix to avoid memset entirely. Patch applied. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gond

Re: [PATCH] [RESEND] crypto test: use print_hex_dump from instead

2007-11-26 Thread Herbert Xu
o pull cryptodev again? Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[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 linux-ker

Re: [PATCH] [RESEND] crypto test: use print_hex_dump from instead

2007-11-26 Thread Herbert Xu
u do another patch with this, preferably as a static inline function? That way you don't even need to worry about test_aead. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: [PATCH] [NET]: Fix TX bug VLAN in VLAN

2007-11-26 Thread Herbert Xu
nction. That is, if (veth->h_vlan_proto != htons(ETH_P_8021Q) || VLAN_DEV_INFO(dev)->flags & VLAN_FLAG_REORDER_HDR) { Otherwise you'll miss AF_PACKET packets when REORDER is off. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} &l

Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.

2007-11-27 Thread Herbert Xu
make a lot of sense. OK, short of making IPv4 a module (which would be a worthy task :) do you have an example where a symbol is used by more than one module but needs to be put into a namespace? Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> H

Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.

2007-11-27 Thread Herbert Xu
e with Rusty now: if a symbol is needed by more than one in-tree module chances are we want it to be exported for all. Although I admit I haven't examined your examples elsewhere. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTEC

Re: questions on NAPI processing latency and dropped network packets

2008-01-11 Thread Herbert Xu
sues without asking us to contribute. After all we haven't made that commitment to you or your customers. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.a

Re: 2.6.24-rc6-mm1 - oddness with IPv4/v6 mapped sockets hanging...

2008-01-13 Thread Herbert Xu
[EMAIL PROTECTED] wrote: > > Any ideas? Please provide a packet dump on both sides (or at least the sender side). Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert

Re: Netperf TCP_RR(loopback) 10% regression in 2.6.24-rc6, comparing with 2.6.22

2008-01-14 Thread Herbert Xu
much non-existing. Make sure you haven't switched between SLAB/SLUB while testing this. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pub

Re: questions on NAPI processing latency and dropped network packets

2008-01-15 Thread Herbert Xu
that comes with it should be borne by the company and not the community. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To u

Re: BUG: file descriptors leak when sys_pipe failed with -EFAULT

2007-12-14 Thread Herbert Xu
ith bogus pointers then leaving open file descriptors behind is the least of its worries. So I think fixing this is really a waste of time. But whatever. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apan

[PATCH] Make WARN_ON/WARN_ON_ONCE no-ops when CONFIG_BUG is off

2007-12-14 Thread Herbert Xu
makes it return 0 after evaluating the expression if CONFIG_BUG is disabled. This is consistent with the spirit of the CONFIG_BUG option. The same change is made to WARN_ON_ONCE. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Thanks, -- Visit Openswan at http://www.openswan.org/ Email:

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