Re: My vision of usbmon
From: Pete Zaitcev
Date: Tue Dec 21 2004 - 20:30:26 EST
On Tue, 21 Dec 2004 16:57:26 -0800, Greg KH <greg@xxxxxxxxx> wrote:
> It looks great, thanks for doing this work. Let me know when you want
> it added to the kernel tree.
Thanks, Greg. There's a little tidbit in usbmon about which I wish you to
make a pronouncement explicitly:
+ /* XXX Is this how I pin struct bus? Ask linux-usb-devel */
+ mbus->u_bus = ubus;
+ ubus->mon_bus = mbus;
Is this a good way to guarantee that mbus->u_bus won't be dangling?
This is used not just when someone pulls a PCMCIA card, but also
in case of plain rmmod ohci-hcd.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/