Since changeset: v2: https://lkml.org/lkml/2012/7/31/337 - fixed smatch warnings (add __ref and appropiate header files.Besides that it is exactly like the one I posted in July exceptit has been tested more extensively.