From: Ralf Baechle Date: Mon, 28 Sep 2009 19:26:28 +0000 (-0700) Subject: ax25: Add missing dev_put in ax25_setsockopt X-Git-Tag: v2.6.32-rc3~63^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f72291d3d0e440f9343c7b97dc233c1a122165a;p=pandora-kernel.git ax25: Add missing dev_put in ax25_setsockopt ax25_setsockopt SO_BINDTODEVICE is missing a dev_put call in case of success. Re-order code to fix this bug. While at it also reformat two lines of code to comply with the Linux coding style. Initial patch by Jarek Poplawski . Reported-by: Bernard Pidoux F6BVP Signed-off-by: Ralf Baechle Signed-off-by: David S. Miller --- Reading git-diff-tree failed