[ovs-discuss] Generating arp reply from GRE tunnel port (kernel space)

Jesse Gross jesse at nicira.com
Wed Jun 13 15:20:11 UTC 2012


On Wed, Jun 13, 2012 at 12:12 AM, LIU Binghan <binghanluc at gmail.com> wrote:
> Hi,
>
> I am developing a feature about GRE tunnel, when a gre port receive a ARP
> request, it will generate a ARP reply automatically. The ARP reply packet
> format that I generated is right (check it from wireshark).  However, when I
> send the packet  back to OVS, kernel panic happens. I think it caused by
> socket buffer problem, but I have no solution. Does anybody have some
> suggestion, or some book to recommend about this part. I will be very
> thankful for it.

My guess is that ovs_tnl_find_port() is not finding the appropriate
port and is returning NULL.  However, I suspect that this would be
much better to implement in userspace and would be easier to debug
there.



More information about the discuss mailing list