net: qrtr: Handle IPCR control port format of older targets
authorVignesh Viswanathan <quic_viswanat@quicinc.com>
Fri, 14 Jul 2023 05:58:46 +0000 (11:28 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2023 08:02:30 +0000 (09:02 +0100)
commit69940b888e3502868efd1acf3719fd1af810c123
treef6cae4950bbaf6b92c9ec782e8260364755b7292
parentf26b32ef2fe6f7ae0ba56854e666339e105610ad
net: qrtr: Handle IPCR control port format of older targets

The destination port value in the IPCR control buffer on older
targets is 0xFFFF. Handle the same by updating the dst_port to
QRTR_PORT_CTRL.

Signed-off-by: Vignesh Viswanathan <quic_viswanat@quicinc.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/af_qrtr.c