Re: [PATCH] Fix oops in the 8250 serial driver when accessing a removed device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> When a plug-and-play 8250 device is detected, the driver reuses one of the
> dummy ports. If that device is later removed, the port goes pack to the dummy
> ports pool. The capabilities field is not reset, which causes a oops when
> trying to access the port.

Some day we need to allocate new dummy ports so there is always one free.

> This patch resets the capabilities field when a 8250 device is unregistered.

Looks good to me. Would appreciate Russell's view though.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux