From: Roland Dreier Date: Tue, 7 Feb 2012 14:51:21 +0000 (+0000) Subject: IPoIB: Stop lying about hard_header_len and use skb->cb to stash LL addresses X-Git-Tag: v3.3-rc4~34^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=936d7de3d736e0737542641269436f4b5968e9ef;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed