On Sat, Nov 29, 2014 at 09:42:51PM +0100, Mark Kettenis wrote: > Recent Oracle SPARC machines have a USB gadget to talk to the Service > Processor (ILOM). This gadget supports both RNDIS and CDC Ethernet. > The RNDIS bits uncovered a bug in urndis(4). When urndis_ctrl_set() > sets up the REMOTE_NDIS_SET_MSG command it sets up msg->rm_infobuflen, > it subsequently overwrites its contents. Apparently many RNDIS > devices don't care, but this hardware sends a response back that > indicates the command wasn't accepted. Diff below fixes this problem. > It matches what Linux does. > > Unfortunately, this isn't enough to make the gadget work in RNDIS mode. > > I'd appreciate it if people using urndis(4) could test this diff. >
Makes sense, ok armani@ (over urndis)