diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-04-01 23:56:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-01 23:56:17 -0700 |
commit | 4965291acf8cc2c31dcb2fc7d292a04ee08da2dd (patch) | |
tree | f38695b8fcdee173cf714222193c8f12274ba879 /fs/hppfs | |
parent | d43c7b37ad787173d08683f05eadeea0398fefdf (diff) |
[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 'fs/hppfs')
0 files changed, 0 insertions, 0 deletions