--- Dheeraj Pandey <dheeraj@Zambeel.com> wrote: > > I guess the question is: Is is it possible that the Ethernet driver > > and/or IP layer give you non-linear skbuffs. if yes, then I better > > be linearizing them before analyzing the pkt data. right? > > Zero-copy TX codepath can give you non-linear skb's, and its nice to > handle them as non-linear skb's, so that zero-copy will stay as > zero-copy all the way upto the driver. Although I am sure there are > numerous NETFILTER hooks out there that will linearize it, if not > your module. My question was for the RX codepath! i.e. Will the ethernet driver or IP layer ever give its upper layers a non-linear skb? Thanks, -A > > Take your pick > Dheeraj __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus – Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html