net: context: Fix the ICMP error on raw

This commit applies the issues detected in UDP to recv_raw() as
well. Please refer to the previous commit log for details.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
(cherry picked from commit 7d1edd1fcb3516f0b8b8c07fe55086675d3e382f)
1 file changed