The patches in this series are bug fixes and enhancements for the "master" branch provided by Jean Tourrilhes <jt at hpl.hp.com>, in some cases with significant refactoring. Once these are pushed out I will merge them into "next". I also have a fix for "openflow-1.0", to be sent separately.