diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-04-02 08:56:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-02 08:56:17 +0200 |
commit | 4965291acf8cc2c31dcb2fc7d292a04ee08da2dd (patch) | |
tree | f38695b8fcdee173cf714222193c8f12274ba879 /sound | |
parent | mac80211: correct use_short_preamble handling (diff) | |
download | linux-4965291acf8cc2c31dcb2fc7d292a04ee08da2dd.tar.xz linux-4965291acf8cc2c31dcb2fc7d292a04ee08da2dd.zip |
[ROSE/AX25] af_rose: rose_release() fix
rose_release() doesn't release sockets properly, e.g. it skips
sock_orphan(), so OOPSes are triggered in sock_def_write_space(),
which was observed especially while ROSE skbs were kfreed from
ax25_frames_acked(). There is also sock_hold() and lock_sock() added -
similarly to ax25_release(). Thanks to Bernard Pidoux for substantial
help in debugging this problem.
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Reported-and-tested-by: Bernard Pidoux <bpidoux@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions