From: Chuck Ebbert <cebbert@redhat.com>
To: Netdev <netdev@vger.kernel.org>
Subject: SFQ qdisc crashes with limit of 2 packets
Date: Tue, 18 Sep 2007 13:18:50 -0400 [thread overview]
Message-ID: <46F0087A.3080104@redhat.com> (raw)
Limit of 1 is forbidden, crashes with 2, works with 3:
https://bugzilla.redhat.com/show_bug.cgi?id=219895
=========
If the defect is produced at a console (as in ctrl-alt-f<0-6>) a kernel stack
trace can be seen the moment "ping" is invoked. Since the stack trace is not
written to the /var/log/messages here's part of it (manually copied):
syscall_call(()
sys_socketcall()
sys_sendmsg()
sock_sendmsg()
inet_sendmsg()
raw_sendmsg()
ip_push_pending_frames()
ip_output()
neigh_resolve_output()
dev_queue_xmit()
__qdisc_run()
The location given in __qdisc_run() is 0x30/0x19b. The value given for EIP is
sfq_dequeue+0xf6/0x179 in the sch_sfq module.
>From disassembling sch_sfq.ko it seems that it is on line 360 of sch_sfq.c:
sch->qstats.backlog -= skb->len;
where "skb" is an invalid pointer:
net/sched/sch_sfq.c:360
194: ff 4d 28 decl 0x28(%ebp)
197: 8b 14 24 mov (%esp),%edx
19a: 8b 42 60 mov 0x60(%edx),%eax ** crash **
19d: 29 45 58 sub %eax,0x58(%ebp)
next reply other threads:[~2007-09-18 17:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-18 17:18 Chuck Ebbert [this message]
2007-09-18 17:31 ` SFQ qdisc crashes with limit of 2 packets Patrick McHardy
2007-09-18 17:57 ` Patrick McHardy
2007-09-18 19:15 ` Patrick McHardy
2007-09-18 20:09 ` David Miller
2007-09-19 9:48 ` Alexey Kuznetsov
2007-09-19 13:08 ` Patrick McHardy
2007-09-19 17:43 ` David Miller
2007-09-21 15:55 ` Alexey Kuznetsov
2007-10-01 0:51 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46F0087A.3080104@redhat.com \
--to=cebbert@redhat.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.