summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-02-07 14:51:21 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-08 15:50:01 -0500
commit377cb4f9e763465984b9bb5187747fd9b02a14c0 (patch)
treee5da6d7e7737db80a7b33b398f9de521c32d0a75 /net/core
parent8c1a7f5283e72306d1d23524f051501ffa1baf57 (diff)
downloadlinux-3.10-377cb4f9e763465984b9bb5187747fd9b02a14c0.tar.gz
linux-3.10-377cb4f9e763465984b9bb5187747fd9b02a14c0.tar.bz2
linux-3.10-377cb4f9e763465984b9bb5187747fd9b02a14c0.zip
IPoIB: Stop lying about hard_header_len and use skb->cb to stash LL addresses
Commit a0417fa3a18a ("net: Make qdisc_skb_cb upper size bound explicit.") made it possible for a netdev driver to use skb->cb between its header_ops.create method and its .ndo_start_xmit method. Use this in ipoib_hard_header() to stash away the LL address (GID + QPN), instead of the "ipoib_pseudoheader" hack. This allows IPoIB to stop lying about its hard_header_len, which will let us fix the L2 check for GRO. Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions