[PATCH 3.18 16/52] packet: Do not leak dev refcounts on error exit