summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_cisco.c
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2005-04-13 13:56:17 +0000
committeravatar <avatar@FreeBSD.org>2005-04-13 13:56:17 +0000
commite496403c65653d3ca697e465754440893ef2fd75 (patch)
tree688f751ba0e9cbacabecc36328711d80d96d202e /sys/netgraph/ng_cisco.c
parentdb5f8a5b7b8a9274209304aff82f7656102e2034 (diff)
downloadFreeBSD-src-e496403c65653d3ca697e465754440893ef2fd75.zip
FreeBSD-src-e496403c65653d3ca697e465754440893ef2fd75.tar.gz
According to the comment in struct tty, t_modem is optional; hence we should
guard against NULL t_modem entry. Otherwise, driver doesn't have t_modem callback implemented(such like sys/dev/usb/ucycom.c) would panic when someone opens the driver's associated tty device. Reviewed by: phk, sam (mentor)
Diffstat (limited to 'sys/netgraph/ng_cisco.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud