This was poorly managed by both the Knicks' brass and Lin's people. For endorsement opportunities, NYC is the place to be for Lin. The money being even close to equal, playing in MSC 41 nights a year on the big stage is way better than playing in Houston for what might be a scrub team.
For the Knicks, they should have figured that Lin would be at least in line for a MLE deal somewhere. Bump up that a few mil per year, and you get three years/$24million. if they jsut offered that to him at the beginning, they wouldn't be facing that ridiculous $15m third year salary.
So instead of paying the very marketable Lin $8m a year, they're going to pay the very chunky Felton and the very old Kidd around that much.
Houston comes out at a winner here. Lin's $15m is the only guaranteed contract on their books for 14-15, so they should be able to structure their payroll to avoid the new mega-lux-tax. If he is a one month wonder, paying Lin $15m is going to hurt, but the hurt isn't going to be amplified by another $22m in tax.