summaryrefslogtreecommitdiffstats
path: root/net
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 18:26:54 -0500
commit936d7de3d736e0737542641269436f4b5968e9ef (patch)
treed83c1f3ce184202d31ade4fe46e78b6b7100e0ae /net
parenta1728800bed3b93b231d99e97c756f622b9991c2 (diff)
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')
0 files changed, 0 insertions, 0 deletions