diff options
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_ib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ib.c b/drivers/infiniband/ulp/ipoib/ipoib_ib.c index c5a1d45e0ac5..8238766746b2 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_ib.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_ib.c | |||
@@ -201,7 +201,7 @@ static void ipoib_ib_handle_wc(struct net_device *dev, | |||
201 | if (wc->slid != priv->local_lid || | 201 | if (wc->slid != priv->local_lid || |
202 | wc->src_qp != priv->qp->qp_num) { | 202 | wc->src_qp != priv->qp->qp_num) { |
203 | skb->protocol = ((struct ipoib_header *) skb->data)->proto; | 203 | skb->protocol = ((struct ipoib_header *) skb->data)->proto; |
204 | 204 | skb->mac.raw = skb->data; | |
205 | skb_pull(skb, IPOIB_ENCAP_LEN); | 205 | skb_pull(skb, IPOIB_ENCAP_LEN); |
206 | 206 | ||
207 | dev->last_rx = jiffies; | 207 | dev->last_rx = jiffies; |