On Sun, 23 Aug 2015 10:14:20 +0300, Ruth Glushkin said:
> On Thu, 22 Aug 2015 00:21:00 -0000, Valdis Kletnieks said:
>
> > Sounds like a reference counting problem.
>
> As far as I know, reference counter for line discipline sets to 0 in
> tty_register_ldisc(),

Not for the discipline, for the *MODULE*.

> And please advice how could I transfer data between kernel and user
> space not using filp_open() and filp_close().

Depends on the data.  sysfs, netlink, debugfs, or having userspace open the
file and using that, or any number of other ways to do it.

Attachment: pgpaHhtLuS_Is.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to