aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorSasha Levin <[email protected]>2012-10-04 20:01:21 -0400
committerGreg Kroah-Hartman <[email protected]>2012-10-05 09:26:01 -0700
commit6f5601251d7e306b8a7bf5e674c5307d865c0fa1 (patch)
tree55f3e550181d02ecc8dfe7d09a292c98ece96469 /net/lapb/lapb_iface.c
parentecefbd94b834fa32559d854646d777c56749ef1c (diff)
net, TTY: initialize tty->driver_data before usage
Commit 9c650ffc ("TTY: ircomm_tty, add tty install") split _open() to _install() and _open(). It also moved the initialization of driver_data out of open(), but never added it to install() - causing a NULL ptr deref whenever the driver was used. Signed-off-by: Sasha Levin <[email protected]> Acked-by: Jiri Slaby <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions