I fixed problem, it is because the socket buffer's reference count problem. I make a copy of the socket buffer. Now, everything is fine, thank you very much for your reply. On 13 Jun 2012, at 17:20, Jesse Gross wrote:
> On Wed, Jun 13, 2012 at 12:12 AM, LIU Binghan <binghan...@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. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss