mbox series

[V2,net-next,0/3] net: qrtr: Few fixes in QRTR

Message ID 20230714055846.1481015-1-quic_viswanat@quicinc.com (mailing list archive)
Headers show
Series net: qrtr: Few fixes in QRTR | expand

Message

Vignesh Viswanathan July 14, 2023, 5:58 a.m. UTC
Add fixes in QRTR ns to change server and nodes radix tree to xarray to
avoid a use-after-free while iterating through the server or nodes
radix tree.

Also fix the destination port value for IPCR control buffer on older
targets.

Vignesh Viswanathan (3):
  net: qrtr: ns: Change servers radix tree to xarray
  net: qrtr: ns: Change nodes radix tree to xarray
  net: qrtr: Handle IPCR control port format of older targets

[Changes in V2]: Addressed minor comments from Simon and picked up R-b
tag.

 net/qrtr/af_qrtr.c |   5 ++
 net/qrtr/ns.c      | 139 +++++++++------------------------------------
 2 files changed, 32 insertions(+), 112 deletions(-)