x25_asy: Fix ref count rule violation
commit11b0cc3a4af65413ca3bb5698769e091486e0b22
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 8 Feb 2008 23:00:48 +0000 (8 15:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 23:33:33 +0000 (8 15:33 -0800)
treeeebb0788777410b6cad2ca926cd2ec254221e72a
parent4600ecfcf3ad160ac0c6fcff6115f6edb081ccfa
x25_asy: Fix ref count rule violation

x25_asy does not take an ldisc reference before calling the flush method.
Fix it to use the helper function we provide.

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/wan/x25_asy.c