Hello, I have been trying to add two new actions which when matched send port_statistics and flow statistics to the controller when a matching packet is received.
The port statistics action is working but the flow_statistics action is causing a deadlock which I am trying to figure out how to avoid. The deadlock occurs when the controller sends a matching packet in the packet out message. The functions handle_flow_stats_request() and handle_packet_out() in ofproto/ofproti.c both acquire a lock on the mutex ofproto_mutex. Can someone suggest how I could proceed? -- Regards, *Rahul Sharma* 5th YearMaster of Science (Hons), PhysicsBachelor of Engineering (Hons), Computer Science *▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄* *Birla Institute of Technology & Science,* *Pilani* Pilani Campus, Vidhya Vihar, Pilani, Rajasthan - 333 031, INDIA. ᐧ
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
