public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] DAT - possible bug at incoming ARP request
@ 2013-04-09 10:47 Mihail Costea
  2013-04-09 11:28 ` Antonio Quartulli
  0 siblings, 1 reply; 3+ messages in thread
From: Mihail Costea @ 2013-04-09 10:47 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi,

In the file distributed-arp-table.c, function
batadv_dat_snoop_incoming_arp_request, after creation of ARP reply
(skb_new = arp_create(...)) and testing if the creation was
successful, shouldn't exist a call to skb_reset_mac_header(skb_new),
just like in batadv_dat_snoop_outgoing_arp_request?

I've done something similar for NDP and I think that this is the line
that might generate a kernel panic (not sure yet, I might have to do
more testing).

As I said, I'm not sure yet, and maybe my code might generate it. But
my question is why isn't here a skb_reset_mac_header as it is in the
first function.

Thanks,
Mihail

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-09 13:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09 10:47 [B.A.T.M.A.N.] DAT - possible bug at incoming ARP request Mihail Costea
2013-04-09 11:28 ` Antonio Quartulli
2013-04-09 13:13   ` Mihail Costea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox