althea-net / open5gs

Open5GS is a C-language Open Source implementation for 5G Core and EPC, i.e. the core network of LTE/NR network (Release-16)
https://open5gs.org
GNU Affero General Public License v3.0
1 stars 1 forks source link

[pfcp] sendto should always return OGS_OK #81

Closed spencersevilla closed 10 months ago

spencersevilla commented 10 months ago

sendto() was crashing the entire SMF when it received an EDESTADDRREQ error. True source of the error is unknown (maybe wireguard hiccupping? looks like the packet was sent out on the wrong wg tunnel) but regardless of the error we should actually just handle gracefully, log error, and move on. PFCP already has its own retrans/recovery mechanisms so loss here is irrelevant.