Bugzilla – Attachment 327190 Details for
Bug 540589
kernel-pae boot fails on eeePC 1000
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
rt2860: use skb_set_tail_pointer
rt2860-use-skb_set_tail_pointer (text/plain), 2.02 KB, created by
Jeff Mahoney
on 2009-11-12 17:11:24 UTC
(
hide
)
Description:
rt2860: use skb_set_tail_pointer
Filename:
MIME Type:
Creator:
Jeff Mahoney
Created:
2009-11-12 17:11:24 UTC
Size:
2.02 KB
patch
obsolete
>From: Jeff Mahoney <jeffm@suse.com> >Subject: rt2860: use skb_set_tail_pointer > > This patch fixes the direct manipulation of skb->tail by the rt2860 driver. > >Signed-off-by: Jeff Mahoney <jeffm@suse.com> >--- > drivers/staging/rt2860/common/ba_action.c | 2 ++ > drivers/staging/rt2860/rt_linux.c | 9 ++++++--- > 2 files changed, 8 insertions(+), 3 deletions(-) > >--- a/drivers/staging/rt2860/common/ba_action.c >+++ b/drivers/staging/rt2860/common/ba_action.c >@@ -1506,7 +1506,9 @@ void convert_reordering_packet_to_preAMS > > RTPKT_TO_OSPKT(pRxPkt)->dev = get_netdev_from_bssid(pAd, FromWhichBSSID); > RTPKT_TO_OSPKT(pRxPkt)->data = pRxBlk->pData; >+ RTPKT_TO_OSPKT(pRxPkt)->head = RTPKT_TO_OSPKT(pRxPkt)->data; > RTPKT_TO_OSPKT(pRxPkt)->len = pRxBlk->DataSize; >+ skb_set_tail_pointer(RTPKT_TO_OSPKT(pRxPkt), RTPKT_TO_OSPKT(pRxPkt)->len); > RTPKT_TO_OSPKT(pRxPkt)->tail = RTPKT_TO_OSPKT(pRxPkt)->data + RTPKT_TO_OSPKT(pRxPkt)->len; > > // >--- a/drivers/staging/rt2860/rt_linux.c >+++ b/drivers/staging/rt2860/rt_linux.c >@@ -598,8 +598,9 @@ PNDIS_PACKET ClonePacket( > // set the correct dataptr and data len > pClonedPkt->dev = pRxPkt->dev; > pClonedPkt->data = pData; >+ pClonedPkt->head = pClonedPkt->data; > pClonedPkt->len = DataSize; >- pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len; >+ skb_set_tail_pointer(pClonedPkt, pClonedPkt->len); > ASSERT(DataSize < 1530); > } > return pClonedPkt; >@@ -620,8 +621,9 @@ void update_os_packet_info( > > pOSPkt->dev = get_netdev_from_bssid(pAd, FromWhichBSSID); > pOSPkt->data = pRxBlk->pData; >+ pOSPkt->head = pOSPkt->data; > pOSPkt->len = pRxBlk->DataSize; >- pOSPkt->tail = pOSPkt->data + pOSPkt->len; >+ skb_set_tail_pointer(pOSPkt, pOSPkt->len); > } > > >@@ -640,8 +642,9 @@ void wlan_802_11_to_802_3_packet( > > pOSPkt->dev = get_netdev_from_bssid(pAd, FromWhichBSSID); > pOSPkt->data = pRxBlk->pData; >+ pOSPkt->head = pOSPkt->data; > pOSPkt->len = pRxBlk->DataSize; >- pOSPkt->tail = pOSPkt->data + pOSPkt->len; >+ skb_set_tail_pointer(pOSPkt, pOSPkt->len); > > // > // copy 802.3 header
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 540589
:
319002
|
327189
|
327190
|
327447
|
336523
|
337495