On Thu, Sep 3, 2015 at 12:42 AM, Pravin B Shelar <[email protected]> wrote:
> Currently tnl-port table wildcard destination ip and mac addresses
> for given tunnel packet. That could result accepting tunnel
> packets destined for other hosts. Following patch adds
> support for matching for ip and mac address.
> IP address upates to tnl-port table are piggybacked on
> ovs-router updates.
>
> Reported-by: Ben Pfaff <[email protected]>
> Signed-off-by: Pravin B Shelar <[email protected]>
It looks like this patch is causing segfaults if you have existing
tunnels kernel tunnels and you change the datapath type to netdev
while the switch is running. For example, doing:
ovs-vsctl set bridge br0 datapath_type=netdev
Here is the backtrace:
Program terminated with signal 11, Segmentation fault.
#0 tnl_port_map_run () at lib/tnl-ports.c:403
403 if (ip_dev->change_seq == netdev_get_change_seq(ip_dev->dev)) {
(gdb) bt
#0 tnl_port_map_run () at lib/tnl-ports.c:403
#1 0x000000000045e0d8 in dpif_netdev_run (dpif=<optimized out>) at
lib/dpif-netdev.c:2553
#2 0x000000000042cee8 in type_run (type=<optimized out>) at
ofproto/ofproto-dpif.c:531
#3 0x0000000000419d92 in ofproto_type_run (datapath_type=<optimized out>)
at ofproto/ofproto.c:1655
#4 0x000000000040a9ad in bridge_run__ () at vswitchd/bridge.c:2875
#5 0x000000000040ed6b in bridge_reconfigure (ovs_cfg=<optimized out>)
at vswitchd/bridge.c:700
#6 0x000000000041030d in bridge_run () at vswitchd/bridge.c:2973
#7 0x00000000004067f5 in main (argc=3, argv=0x7ffc9bf197e8) at
vswitchd/ovs-vswitchd.c:120
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev