Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
On Thursday 19 July 2007 21:56, Ingo Molnar wrote: > nope - with this patch applied the box still has no network, symptoms > are similar. (should i apply the WARN_ON() patch too?) Yes, that would be nice. If that doesn't help, you can also throw in the one below. Olaf -- Olaf Kirch |

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
Does the following help? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax Test patch --- Index: build-2.6/drivers/net/netconsole.c

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
iming, but just verifies whether my patch is to blame at all. Can you give it a try? Thanks, Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax --- Test patch --- include/linux/netdevice.h |2 +- 1

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
On Thursday 19 July 2007 19:36, Olaf Kirch wrote: > Can you confirm this by spraying the laptop with arp packets > or broadcast pings while it's booting? Sorry for the noise - didn't see your other message where you described just that. This sounds more like a hardware issue - Rx interrupt

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
gs. Can you confirm this by spraying the laptop with arp packets or broadcast pings while it's booting? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscribe from this list: send the line

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
that this means anything under these circumstances ...) Too bad. Now where do we take it from here? I'm currently thinking of ways to do this patch differently. But that is kind of relying on a good testbed to verify whether a different patch works better for you or not... Olaf -- Olaf Kirch |

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
On Thursday 19 July 2007 14:52, Olaf Kirch wrote: > On Thursday 19 July 2007 12:58, Ingo Molnar wrote: > > i.e. it's the classic 'eth0 got stuck somehow' tx/rx state machine > > hickup symptoms, with no other bad symptoms such as lockups or crashes. > > Duh, I found it.

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
not remove the device from the poll list any longer - and another one from net_rx_action. I don't have a fix ready yet - I hope I'll have something later this afternoon. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.nay

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
scheduled while we're in poll_napi holding the poll_lock. net_rx_action would try to take the poll_lock as well, and we'd be hung for good. The patch with local_bh_disable/enable was supposed to test that idea (this is the "trickle" patch) Olaf -- Olaf Kirch | --- o --- Nous sommes du sol

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
what dmesg contains. If there's little to no debug output from the driver, let it run for 10 seconds or so, in order to catch the e1000 watchdog timer a few times. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
to no debug output from the driver, let it run for 10 seconds or so, in order to catch the e1000 watchdog timer a few times. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscribe from

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
holding the poll_lock. net_rx_action would try to take the poll_lock as well, and we'd be hung for good. The patch with local_bh_disable/enable was supposed to test that idea (this is the trickle patch) Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
the device from the poll list any longer - and another one from net_rx_action. I don't have a fix ready yet - I hope I'll have something later this afternoon. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
On Thursday 19 July 2007 14:52, Olaf Kirch wrote: On Thursday 19 July 2007 12:58, Ingo Molnar wrote: i.e. it's the classic 'eth0 got stuck somehow' tx/rx state machine hickup symptoms, with no other bad symptoms such as lockups or crashes. Duh, I found it. The following patch should

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
these circumstances ...) Too bad. Now where do we take it from here? I'm currently thinking of ways to do this patch differently. But that is kind of relying on a good testbed to verify whether a different patch works better for you or not... Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
confirm this by spraying the laptop with arp packets or broadcast pings while it's booting? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscribe from this list: send the line unsubscribe

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
On Thursday 19 July 2007 19:36, Olaf Kirch wrote: Can you confirm this by spraying the laptop with arp packets or broadcast pings while it's booting? Sorry for the noise - didn't see your other message where you described just that. This sounds more like a hardware issue - Rx interrupt seems

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
whether my patch is to blame at all. Can you give it a try? Thanks, Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax --- Test patch --- include/linux/netdevice.h |2 +- 1 file changed, 1

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
Does the following help? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax Test patch --- Index: build-2.6/drivers/net/netconsole.c

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Olaf Kirch
On Thursday 19 July 2007 21:56, Ingo Molnar wrote: nope - with this patch applied the box still has no network, symptoms are similar. (should i apply the WARN_ON() patch too?) Yes, that would be nice. If that doesn't help, you can also throw in the one below. Olaf -- Olaf Kirch | --- o

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-18 Thread Olaf Kirch
n't change the timing in a way that makes the bug disappear. Thanks Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - --- include/linux/netdevice.h |4 net/core/dev.c| 14 ++

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-18 Thread Olaf Kirch
t timed out So, it seems as if for some reason, dev->poll isn't called frequently enough. Here's a debugging patch that tries to locate the problem - can you give it a try, please? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-18 Thread Olaf Kirch
as if for some reason, dev-poll isn't called frequently enough. Here's a debugging patch that tries to locate the problem - can you give it a try, please? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-18 Thread Olaf Kirch
that makes the bug disappear. Thanks Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - --- include/linux/netdevice.h |4 net/core/dev.c| 14 ++ 2 files changed

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
nsole output? I don't see any Tx Unit Hang messages from e1000 or netdev watchdog messages present in your earlier dmesg logs. So maybe these messages are there, but never get logged? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dh

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
, both with HZ=250 and HZ=1000? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax --- --- drivers/net/e1000/e1000_main.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) Index: bui

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
if (test_bit(__LINK_STATE_POLL_LIST_FROZEN, >state)) { dev->quota = dev->weight; return; } This is just a hack to make sure that we don't go to insanely negative quotas while sending packets through netpoll. Olaf -- Olaf Kirch | --- o --

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
On Tuesday 17 July 2007 09:55, Olaf Kirch wrote: > What I find more problematic about this portion of code though > is that once a net_device is over quota, net_rx_action will > loop for up to one jiffy, even if there's just this one device on > the poll_list. Duh, wrong. For every

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
appen again, since it never goes away. Sorry, I may be sitting on my brain this morning, but I don't understand how skipping netif_rx_complete would affect ACKing of interrupts. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.nay

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
this, > and net_rx_action returns with __LINK_STATE_RX_SCHED bit set. I don't think so. dev will remain on poll_list. What I find more problematic about this portion of code though is that once a net_device is over quota, net_rx_action will loop for up to one jiffy, even if there's just this one device on

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
On Tuesday 17 July 2007 00:08, David Miller wrote: > Sure, but I thought it would be nice to give Olaf a day or two to > figure out what's going on rather than have the knee-jerk reaction to > just revert. Oh, reverting is fine with me. I'll just resubmit the patch. Olaf -- Olaf Kirch

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
On Tuesday 17 July 2007 00:08, David Miller wrote: Sure, but I thought it would be nice to give Olaf a day or two to figure out what's going on rather than have the knee-jerk reaction to just revert. Oh, reverting is fine with me. I'll just resubmit the patch. Olaf -- Olaf Kirch | --- o

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
with __LINK_STATE_RX_SCHED bit set. I don't think so. dev will remain on poll_list. What I find more problematic about this portion of code though is that once a net_device is over quota, net_rx_action will loop for up to one jiffy, even if there's just this one device on the poll_list. Olaf -- Olaf Kirch | --- o

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
. Sorry, I may be sitting on my brain this morning, but I don't understand how skipping netif_rx_complete would affect ACKing of interrupts. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
On Tuesday 17 July 2007 09:55, Olaf Kirch wrote: What I find more problematic about this portion of code though is that once a net_device is over quota, net_rx_action will loop for up to one jiffy, even if there's just this one device on the poll_list. Duh, wrong. For every loop, it'll add

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
(__LINK_STATE_POLL_LIST_FROZEN, dev-state)) { dev-quota = dev-weight; return; } This is just a hack to make sure that we don't go to insanely negative quotas while sending packets through netpoll. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
with HZ=250 and HZ=1000? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax --- --- drivers/net/e1000/e1000_main.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) Index: build-2.6/drivers

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
see any Tx Unit Hang messages from e1000 or netdev watchdog messages present in your earlier dmesg logs. So maybe these messages are there, but never get logged? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-16 Thread Olaf Kirch
SMP machine? Are you still getting output from netconsole, or is the network down completely? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscribe from this list: send the line "unsubsc

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-16 Thread Olaf Kirch
On Monday 16 July 2007 11:12, Ingo Molnar wrote: > After a bisection session the bad commit turned out to be: > > 29578624e354f56143d92510fff33a8b2aaa2c03 is first bad commit > commit 29578624e354f56143d92510fff33a8b2aaa2c03 > Author: Olaf Kirch <[EMAIL PROTECTED]> >

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-16 Thread Olaf Kirch
On Monday 16 July 2007 11:12, Ingo Molnar wrote: After a bisection session the bad commit turned out to be: 29578624e354f56143d92510fff33a8b2aaa2c03 is first bad commit commit 29578624e354f56143d92510fff33a8b2aaa2c03 Author: Olaf Kirch [EMAIL PROTECTED] Date: Wed Jul 11 19:32:02 2007

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-16 Thread Olaf Kirch
still getting output from netconsole, or is the network down completely? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH] net: Make skb_seq_read unmap the last fragment

2007-06-19 Thread Olaf Kirch
From: Olaf Kirch <[EMAIL PROTECTED]> Make skb_seq_read unmap the last fragment Having walked through the entire skbuff, skb_seq_read would leave the last fragment mapped. As a consequence, the unwary caller would leak kmaps, and proceed with preempt_count off by one. The only (kind

[PATCH] net: Make skb_seq_read unmap the last fragment

2007-06-19 Thread Olaf Kirch
From: Olaf Kirch [EMAIL PROTECTED] Make skb_seq_read unmap the last fragment Having walked through the entire skbuff, skb_seq_read would leave the last fragment mapped. As a consequence, the unwary caller would leak kmaps, and proceed with preempt_count off by one. The only (kind of non

Re: Kernel 2.6.20 does not work anymore with SCSI or SATA on old Opteron / Xeon servers

2007-03-20 Thread Olaf Kirch
root file system mounted via NFS? Or does it mean you booted, and started the NFS server? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscribe from this list: send the line "uns

Re: Kernel 2.6.20 does not work anymore with SCSI or SATA on old Opteron / Xeon servers

2007-03-20 Thread Olaf Kirch
via NFS? Or does it mean you booted, and started the NFS server? Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 1/2] avoid OPEN_MAX in SCM_MAX_FD

2007-03-14 Thread Olaf Kirch
f code that still uses it, it's most likely something that hasn't seen a compiler in years - and will likely continue to do so. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscrib

Re: [PATCH 1/2] avoid OPEN_MAX in SCM_MAX_FD

2007-03-14 Thread Olaf Kirch
that still uses it, it's most likely something that hasn't seen a compiler in years - and will likely continue to do so. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscribe from

Re: [NFS] [PATCH 001 of 3] knfsd: Use recv_msg to get peer address for NFSD instead of code-copying

2007-03-05 Thread Olaf Kirch
er PKTINFO cmsg when sending the reply. So it would be much easier to just store the raw control message in the svc_rqst, without looking at its contents, and send it out along with the reply, unchanged. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PRO

Re: [NFS] [PATCH 001 of 3] knfsd: Use recv_msg to get peer address for NFSD instead of code-copying

2007-03-05 Thread Olaf Kirch
ddresses a little awkward too. And I think to be on the safe side, you should check that you're really looking at a PKTINFO cmsg rather than something else. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To

Re: [NFS] [PATCH 001 of 3] knfsd: Use recv_msg to get peer address for NFSD instead of code-copying

2007-03-05 Thread Olaf Kirch
to be on the safe side, you should check that you're really looking at a PKTINFO cmsg rather than something else. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax - To unsubscribe from this list: send the line

Re: [NFS] [PATCH 001 of 3] knfsd: Use recv_msg to get peer address for NFSD instead of code-copying

2007-03-05 Thread Olaf Kirch
easier to just store the raw control message in the svc_rqst, without looking at its contents, and send it out along with the reply, unchanged. Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-15 Thread Olaf Kirch
s - but to do that you need a private key. And the whole point of this exercise is that the user does not have access to that key. So as far as support is concerned, you're back in square one. You cannot tell a "genuine" oops produced on a supported kernel from a doctored one produced on Jo

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-15 Thread Olaf Kirch
is that the user does not have access to that key. So as far as support is concerned, you're back in square one. You cannot tell a genuine oops produced on a supported kernel from a doctored one produced on Joe Doe's Garage Kernel. Olaf -- Olaf Kirch| Anyone who has had to work with X.509 has

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-04 Thread Olaf Kirch
On Fri, Feb 04, 2005 at 12:55:39PM +1100, Herbert Xu wrote: > OK, here is the patch to do that. Let's get rid of kfree_skb_fast > while we're at it since it's no longer used. Thanks, I'll give that to the PPC folks and ask the to run with it. Regards, Olaf -- Olaf Kirch | --- o --

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-04 Thread Olaf Kirch
On Fri, Feb 04, 2005 at 12:55:39PM +1100, Herbert Xu wrote: OK, here is the patch to do that. Let's get rid of kfree_skb_fast while we're at it since it's no longer used. Thanks, I'll give that to the PPC folks and ask the to run with it. Regards, Olaf -- Olaf Kirch | --- o --- Nous

Re: [patch 1/13] Qsort

2005-01-25 Thread Olaf Kirch
o make that too slow. Olaf -- Olaf Kirch | Things that make Monday morning interesting, #2: [EMAIL PROTECTED] |"We have 8,000 NFS mount points, why do we keep ---+ running out of privileged ports?" - To unsubscribe from this list: send the line "uns

Re: [patch 1/13] Qsort

2005-01-25 Thread Olaf Kirch
that too slow. Olaf -- Olaf Kirch | Things that make Monday morning interesting, #2: [EMAIL PROTECTED] |We have 8,000 NFS mount points, why do we keep ---+ running out of privileged ports? - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: Traceroute without s bit

2000-12-06 Thread Olaf Kirch
On Wed, Dec 06, 2000 at 10:35:14AM -0500, James Antill wrote: > I've just looked at it, but I'm pretty sure this is a bug in your > code. Ick. Thanks! Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.nayth

Re: Traceroute without s bit

2000-12-06 Thread Olaf Kirch
l cases. It can contain multiple errors. But it doesn't return POLLERR. If it was returning it, pollfd.revents would be set. pollfd.events is the event mask that's being passed _into_ the poll() call. You're right about the IP_RETOPS stuff though. I didn't look closely enough; ip_cmsg_send does exp

Traceroute without s bit

2000-12-06 Thread Olaf Kirch
:43:02 poll([{fd=4, events=POLLERR}], 1, 5) = 0 ... I.e. the poll call returns as if it had timed out, but it hasn't. Any input from network kernel hackers would be greatly appreciated! Cheers, Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we

Traceroute without s bit

2000-12-06 Thread Olaf Kirch
:43:02 poll([{fd=4, events=POLLERR}], 1, 5) = 0 ... I.e. the poll call returns as if it had timed out, but it hasn't. Any input from network kernel hackers would be greatly appreciated! Cheers, Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we

Re: Traceroute without s bit

2000-12-06 Thread Olaf Kirch
return POLLERR. If it was returning it, pollfd.revents would be set. pollfd.events is the event mask that's being passed _into_ the poll() call. You're right about the IP_RETOPS stuff though. I didn't look closely enough; ip_cmsg_send does expect raw options. Thanks, Olaf -- Olaf Kirch

Re: Traceroute without s bit

2000-12-06 Thread Olaf Kirch
On Wed, Dec 06, 2000 at 10:35:14AM -0500, James Antill wrote: I've just looked at it, but I'm pretty sure this is a bug in your code. Ick. Thanks! Olaf -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah

Re: More modutils: It's probably worse.

2000-11-14 Thread Olaf Kirch
ves you a single NUL byte overflow. Whether it's dangerous or not depends on whether your compiler reserves stack space for the *nls pointer or not... -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin

Re: More modutils: It's probably worse.

2000-11-14 Thread Olaf Kirch
ngle NUL byte overflow. Whether it's dangerous or not depends on whether your compiler reserves stack space for the *nls pointer or not... -- Olaf Kirch | --- o --- Nous sommes du soleil we love when we play [EMAIL PROTECTED] |/ | \ sol.dhoop.naytheet.ah kin.ir.samse.qu