More in-depth discussion about the differences between public charities (501(c)(3)) and trade associations (501(c)(6)), by Bradley Kuhn who now works for and has previously founded and managed the Software Freedom Conservancy:

https://sfconservancy.org/blog/2013/dec/05/non-profit-home/