summaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-09-28 12:26:28 -0700
committerDavid S. Miller <davem@davemloft.net>2009-09-28 12:26:28 -0700
commit2f72291d3d0e440f9343c7b97dc233c1a122165a (patch)
treef2cdcf5bfd4b44387751c6339cf996e8ef455559 /drivers/atm
parentd1f8297a96b0d70f17704296a6666468f2087ce6 (diff)
downloadop-kernel-dev-2f72291d3d0e440f9343c7b97dc233c1a122165a.zip
op-kernel-dev-2f72291d3d0e440f9343c7b97dc233c1a122165a.tar.gz
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 <jarkao2@gmail.com>. Reported-by: Bernard Pidoux F6BVP <f6bvp@free.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud