ax25: Fix ax25_cb refcounting in ax25_ctl_ioctl
authorJarek Poplawski <jarkao2@gmail.com>
Fri, 25 Sep 2009 03:10:38 +0000 (03:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2009 20:43:48 +0000 (13:43 -0700)
commitc0181d420cc1a506ca4418ce90e2ad89831eee2c
tree2c28009e8312427a2d934352c8c1c3363941d8af
parenta91eba5b9db4c09f53c8f23327915c7c75d3235f
ax25: Fix ax25_cb refcounting in ax25_ctl_ioctl

Use ax25_cb_put after ax25_find_cb in ax25_ctl_ioctl.

Reported-by: Bernard Pidoux F6BVP <f6bvp@free.fr>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Reviewed-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/af_ax25.c