[PATCH 6.6 077/143] gtp: fix use-after-free and null-ptr-deref in gtp_newlink()