RE: non-linear skb's

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

 



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

Take your pick
Dheeraj
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux