On Tue, Nov 19, 2013 at 6:49 PM, Nithin Nayak Sujir <nsu...@broadcom.com> wrote: > >>> I see these errors which don't appear with the inbox openvswitch driver. >>> >>> [ 4198.153985] gre_compat_init: cannot register gre_cisco protocol >>> handler >> >> >> This indicates that the ip_gre module is loaded when OVS is trying to >> register its handler. >> > > Doesn't appear to be. > > 18:23 dl6-fed-19:~/openvswitch (master) >> lsmod | grep gre > gre 13888 1 openvswitch > > > I dug a little. We seem to be doing the gre_add_protocol() twice. Once in > gre_init() in gre_demux.c and then again in gre_compat_init() for kernels >= > 2.6.37 (Fedora is 3.11.8). The one in gre_compat_init() returns failure, I > guess because the cmpxchg returns non-NULL.
You're right, this is a corner case that happens just on 3.11 with GRE. Pravin, I know that you were trying to keep this code simple, how do you want to handle this? _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev