From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: "David S. Miller" <davem@redhat.com>
Cc: netdev@oss.sgi.com
Subject: Re: [PATCH?] Fix sniffing of ARP replies
Date: Thu, 16 Oct 2003 12:07:23 +0200 [thread overview]
Message-ID: <32A9D366A0B@vcnet.vc.cvut.cz> (raw)
On 15 Oct 03 at 20:47, David S. Miller wrote:
> On Wed, 15 Oct 2003 19:11:12 +0200
> Petr Vandrovec <vandrove@vc.cvut.cz> wrote:
>
> > after recent changes in packet_type interface I stopped setting
> > af_packet_priv - as you told that it is only for AF_PACKET, for nobody
> > else. And - things stopped working.
>
> "Where" did you stop doing this?
vmnet. http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update42.tar.gz,
vmnet.tar -> bridge.c.
> Nothing in the current kernel should be broken at all by said
> changes I did to 2.6.x
>
> If it has broken something you are working on external to the tree
> you have to say what it is. I can only guess that it's making
> assumptions that never truly existed.
It behaves same way it behaved. But recently you renamed packet_type.data
to packet_type.af_packet_priv, saying that af_packet_priv should be used
only by AF_PACKET code, by nobody else. So I trusted you, removed
packet_type.data (and packet_type.af_packet_priv) references from the
code - and things stopped working, as with af_packet_priv==NULL ARP
replies are not delivered to the registered packet_type callback, as
these packets match skb->sk == pt->af_packet_priv for af_packet_priv == NULL.
I can of course set 'af_packet_priv' to some non-NULL value - but in such
case I do not understand why you renamed it, if semantic is same as it was
before.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
next reply other threads:[~2003-10-16 10:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-16 10:07 Petr Vandrovec [this message]
2003-10-16 22:21 ` [PATCH?] Fix sniffing of ARP replies David S. Miller
2003-10-16 22:41 ` Joe Perches
2003-10-16 22:45 ` David S. Miller
2003-10-16 23:48 ` Petr Vandrovec
2003-10-17 6:55 ` David S. Miller
-- strict thread matches above, loose matches on Subject: below --
2003-10-15 17:11 Petr Vandrovec
2003-10-16 3:47 ` David S. Miller
2003-10-17 7:10 ` David S. 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=32A9D366A0B@vcnet.vc.cvut.cz \
--to=vandrove@vc.cvut.cz \
--cc=davem@redhat.com \
--cc=netdev@oss.sgi.com \
/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.