* tcpdump broke in 2.6.34-rc1
@ 2010-03-12 12:39 Jan Engelhardt
2010-03-12 13:23 ` Frans Pop
0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2010-03-12 12:39 UTC (permalink / raw)
To: netdev; +Cc: Linux Kernel Mailing List
Greetings.
I am currently on 2.6.34-rc1 and found that tcpdump no
longer works (dies with setsockopt: invalid argument). Bisect-narrowed
it down to somewhere between
# good: [13dda80e48439b446d0bc9bab34b91484bc8f533] Merge branch 'davinci-for-lin
# bad: [b7f3a209e9b09b3110ea084836c75f2cd26b29f2] Merge git://git.kernel.org/pub
(bisecting in there gives me even a kernel panic on boot. Great fun. So
I'm leaving it at that.)
The strace output is:
socket(PF_PACKET, SOCK_RAW, 768) = 3
ioctl(3, SIOCGIFINDEX, {ifr_name="lo", ifr_index=1}) = 0
ioctl(3, SIOCGIFHWADDR, {ifr_name="eth0", ifr_hwaddr=08:00:27:6e:34:4a}) = 0
ioctl(3, SIOCGIFINDEX, {ifr_name="eth0", ifr_index=2}) = 0
bind(3, {sa_family=AF_PACKET, proto=0x03, if2, pkttype=PACKET_HOST, addr(0)={0,
}, 20) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [17179869184], [4]) = 0
setsockopt(3, SOL_PACKET, PACKET_ADD_MEMBERSHIP,
"\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0", 16) = -1 EINVAL (Invalid argument)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tcpdump broke in 2.6.34-rc1
2010-03-12 12:39 tcpdump broke in 2.6.34-rc1 Jan Engelhardt
@ 2010-03-12 13:23 ` Frans Pop
2010-03-12 13:50 ` Jan Engelhardt
0 siblings, 1 reply; 3+ messages in thread
From: Frans Pop @ 2010-03-12 13:23 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netdev, linux-kernel
Jan Engelhardt wrote:
> I am currently on 2.6.34-rc1 and found that tcpdump no
> longer works (dies with setsockopt: invalid argument). Bisect-narrowed
> it down to somewhere between
Probably the same as http://lkml.org/lkml/2010/3/9/439, which has an exact
bisect.
Has a follow-up that it's fixed by
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commit;h=1162563f82b434e3099c9e6c1bbdba846d792f0d
Cheers,
FJP
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tcpdump broke in 2.6.34-rc1
2010-03-12 13:23 ` Frans Pop
@ 2010-03-12 13:50 ` Jan Engelhardt
0 siblings, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2010-03-12 13:50 UTC (permalink / raw)
To: Frans Pop; +Cc: netdev, linux-kernel
On Friday 2010-03-12 14:23, Frans Pop wrote:
>Jan Engelhardt wrote:
>> I am currently on 2.6.34-rc1 and found that tcpdump no
>> longer works (dies with setsockopt: invalid argument). Bisect-narrowed
>> it down to somewhere between
>
>Probably the same as http://lkml.org/lkml/2010/3/9/439, which has an exact
>bisect.
>
>Has a follow-up that it's fixed by
>http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commit;h=1162563f82b434e3099c9e6c1bbdba846d792f0d
Thanks for looking it up. The patch does indeed fix the issue.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-12 13:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-12 12:39 tcpdump broke in 2.6.34-rc1 Jan Engelhardt
2010-03-12 13:23 ` Frans Pop
2010-03-12 13:50 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).