diff options
author | Roland Dreier <roland@purestorage.com> | 2012-02-07 14:51:21 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-08 23:26:54 (GMT) |
commit | 936d7de3d736e0737542641269436f4b5968e9ef (patch) | |
tree | d83c1f3ce184202d31ade4fe46e78b6b7100e0ae /net/core/dev.c | |
parent | a1728800bed3b93b231d99e97c756f622b9991c2 (diff) | |
download | linux-fsl-qoriq-936d7de3d736e0737542641269436f4b5968e9ef.tar.xz |
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/dev.c')
0 files changed, 0 insertions, 0 deletions