I don't believe private browsing masks your IP, and I'm not sure it changes your user agent either. It's very likely LinkedIn can still track your activity if you're browsing in a Private tab.
LinkedIn was on HackerNews for doing _just that_ a few weeks ago. That is, associating your IP address with your identity and tracking whose profile you clicked (to report back to them) even when you're not logged in.