Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1688116
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net 0/2] Fragmented SKB corrections |
| Date | 2017-07-16 06:40 +0200 |
| Message-ID | <u3JvA-2qm-3@gated-at.bofh.it> (permalink) |
| References | <u3i2l-1SH-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Doug Berger <opendmb@gmail.com> Date: Fri, 14 Jul 2017 16:12:08 -0700 > Two issues were observed in a review of the bcmgenet driver support for > fragmented SKBs which are addressed by this patch set. > > The first addresses a problem that could occur if the driver is not able > to DMA map a fragment of the SKB. This would be a highly unusual event > but it would leave the hardware descriptors in an invalid state which > should be prevented. > > The second is a hazard that could occur if the driver is able to reclaim > the first control block of a fragmented SKB before all of its fragments > have completed processing by the hardware. In this case the SKB could > be freed leading to reuse of memory that is still in use by hardware. Series applied, thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net 0/2] Fragmented SKB corrections Doug Berger <opendmb@gmail.com> - 2017-07-15 01:20 +0200 [PATCH net 2/2] net: bcmgenet: Free skb after last Tx frag Doug Berger <opendmb@gmail.com> - 2017-07-15 01:20 +0200 [PATCH net 1/2] net: bcmgenet: Fix unmapping of fragments in bcmgenet_xmit() Doug Berger <opendmb@gmail.com> - 2017-07-15 01:20 +0200 Re: [PATCH net 0/2] Fragmented SKB corrections David Miller <davem@davemloft.net> - 2017-07-16 06:40 +0200
csiph-web