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