It's toast buddy.
Just reef on that sucker. You might even have to take a flat blade to it and pry the mother out.
When you replace the p-trap, get a new slip joint nut and washer to thread and seal to the galv nipple.
You can even replace the nipple if you need to.