Attention is currently required from: osmith.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/36089?usp=email )
Change subject: lib/gtp-kernel.c: initialize ret with 0 ......................................................................
Patch Set 1:
(2 comments)
Commit Message:
https://gerrit.osmocom.org/c/osmo-ggsn/+/36089/comment/9727b7b9_786dfd94 PS1, Line 11: /home/pespin/dev/sysmocom/git/osmo-ggsn/lib/gtp-kernel.c: In function ‘gtp_kernel_tunnel_add’: I think you can get rid of these paths :)
File lib/gtp-kernel.c:
https://gerrit.osmocom.org/c/osmo-ggsn/+/36089/comment/e4e99d1f_df17e878 PS1, Line 117: ms_addr_count = in46a_from_eua(&pdp->eua, ms); if in46a_from_eua returns negative, you are still returning 0. You need to do "ret = ms_addr_count;" or similar instead of ret = 0 at the start.