Search Linux Wireless

Re: SUPPORTS_CLONED_SKBS question

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

 



+Ido.

On Mon, 2015-12-14 at 13:58 +0100, Janusz Dziedzic wrote:

> Base of SUPPORTS_CLONED_SKBS description, we can set this flag
> in case driver will not touch payload or tailroom.
> What exactly does it mean?

Well, you must not modify the data in a way that would make the clone
invalid. That means you can't write to any of the data, essentially.

> What in case of headroom, while ath9k already move 80211 header - add
> padding
> after header (skb_push(hdrlen & 3) + memmove) and remove this padding
> in tx_completion.

I think that should be OK since you don't touch the payload data or the
tailroom.

> What in case of FCS?

What about it? Hopefully that's added by hardware and has no effect on
the skb?!

johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux