Suppose that I write some code (a small but significant subroutine) that I am willing to contribute to existing OSSW project using, say, GPL.
But suppose I'm not that fond of GPL myself, and want to make sure I retain the right to also distribute this code in MIT/BSD/etc OSSW, or in my own proprietary SW, without some OSSW-troll (like patent trolls, theoretically) being able to come along later and say "I found this identifiable segment of code in your binary - you are clearly using GPL'ed software without meeting the requirements of the GPL licenses ah hah!"
What are my options?
I suppose that there similar situations that might come up in OSHW, although "contributions" tend to be less common in HW.