Re: netrom: zero length frame filtering in NetRom

From: Alan Cox
Date: Fri Mar 27 2009 - 06:27:35 EST



> + /* NetRom empty data frame has no meaning : ignore it */
> + if (copied == 0) {
> + goto out;
> + }
> +

Also broken - and doesn't follow the coding style either 8)

I'm not familiar enough with ROSE to tell if the ROSE one is wrong, but
rose is X.25 LL based (sadly without the X.29 layer) so it seems odd
there too (especially for datagram services)


--
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/