summaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2023-03-08 16:28:27 -0800
committerSteven Luong <sluong@cisco.com>2023-03-08 16:43:16 -0800
commita468fd7e586e93989355648778edb912ef258f23 (patch)
tree0b4a519f9ca2e6b44e826ccbea92d78d288ce520 /docs/gettingstarted
parentf72bb6fb242daea784ccefe6d086adeb73e3b859 (diff)
session: Use session->thread_index to correctly retrieve the session
For non-connected udp, when retrieving the subscriber session to send the notification, it uses the current worker thread index whereas the subscriber session is actually on the main thread. Using the worker thread may cause a crash since the corresponding session may not be valid in the worker thread context and even if it is valid, it is the wrong session. This scenario is seen when the application forks and adds subscribers to the worker thread session. Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I236ee9d9ff9f3b2f7f9f8e782d70d1080aa1b627
Diffstat (limited to 'docs/gettingstarted')
0 files changed, 0 insertions, 0 deletions