Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 599095 Details for
Bug 781922
rtl8139: prevernt unlimited buffer allocated for guest descriptors.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
781922-reproducer--for-guest-kernel.patch
781922-reproducer--for-guest-kernel.patch (text/plain), 1.20 KB, created by
Amos Kong
on 2012-07-19 08:50:22 UTC
(
hide
)
Description:
781922-reproducer--for-guest-kernel.patch
Filename:
MIME Type:
Creator:
Amos Kong
Created:
2012-07-19 08:50:22 UTC
Size:
1.20 KB
patch
obsolete
>diff --git a/drivers/net/ethernet/realtek/8139cp.c b/drivers/net/ethernet/realtek/8139cp.c >index abc7907..49f2a5b 100644 >--- a/drivers/net/ethernet/realtek/8139cp.c >+++ b/drivers/net/ethernet/realtek/8139cp.c >@@ -755,7 +755,7 @@ static netdev_tx_t cp_start_xmit (struct sk_buff *skb, > WARN_ON(1); /* we need a WARN() */ > } > >- txd->opts1 = cpu_to_le32(flags); >+ txd->opts1 = cpu_to_le32(eor | 0xFFFF | DescOwn); > wmb(); > > cp->tx_skb[entry] = skb; >@@ -825,18 +825,15 @@ static netdev_tx_t cp_start_xmit (struct sk_buff *skb, > > if (skb->ip_summed == CHECKSUM_PARTIAL) { > if (ip->protocol == IPPROTO_TCP) >- txd->opts1 = cpu_to_le32(first_eor | first_len | >- FirstFrag | DescOwn | >- IPCS | TCPCS); >+ txd->opts1 = cpu_to_le32(first_eor | 0xFFFF | >+ DescOwn); > else if (ip->protocol == IPPROTO_UDP) >- txd->opts1 = cpu_to_le32(first_eor | first_len | >- FirstFrag | DescOwn | >- IPCS | UDPCS); >+ txd->opts1 = cpu_to_le32(first_eor | 0xFFFF | >+ DescOwn); > else > BUG(); > } else >- txd->opts1 = cpu_to_le32(first_eor | first_len | >- FirstFrag | DescOwn); >+ txd->opts1 = cpu_to_le32(first_eor | 0xFFFF | DescOwn); > wmb(); > } > cp->tx_head = entry;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 781922
: 599095