Re: [ovs-dev] [PATCH net] ovs: add recursion limit to ovs_vport_receive

2016-01-12 Thread Hannes Frederic Sowa
On 13.01.2016 00:39, Hannes Frederic Sowa wrote: + if (__this_cpu_inc_return(ovs_recursion) > ovs_recursion_limit) { + net_crit_ratelimited("ovs: recursion limit reached on datapath %s, probable configuration error\n", +ovs_dp_name(vport->d

[ovs-dev] [PATCH net] ovs: add recursion limit to ovs_vport_receive

2016-01-12 Thread Hannes Frederic Sowa
It was seen that defective configurations of openvswitch could overwrite the STACK_END_MAGIC and cause a hard crash of the kernel because of too many recursions within ovs. This problem arises due to the high stack usage of openvswitch. The rest of the kernel is fine with the current limit of 10 (