Thread (23 messages) 23 messages, 6 authors, 2016-09-28

Re: [PATCH net-next] net/vxlan: Avoid unaligned access in vxlan_build_skb()

flat view

From: David Miller <davem@davemloft.net>
Date: 2016-09-23 12:06:27

From: Sowmini Varadhan <redacted>
Date: Thu, 22 Sep 2016 17:30:10 -0400
On (09/22/16 01:52), David Miller wrote:
quoted
Alternatively we can do Alexander Duyck's trick, by pushing
the headers into the frag list, forcing a pull and realignment
by the next protocol layer.
What is the "Alexander Duyck trick" (hints about module or commit id,
where this can be found, please)?

Is this basically about, e.g., putting the vxlanhdr in its own
skb_frag_t, or something else?
Yes, and this way skb_header_pointer() is forced to do a memcpy.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help