diff options
author | françois romieu <romieu@fr.zoreil.com> | 2015-05-01 22:14:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-04 00:18:26 -0400 |
commit | 8709bb2c1e902a64e257c740d301ba0d43065a1c (patch) | |
tree | 680075a81b20e7647fd62d5157d46fbfe835745d /security/smack | |
parent | 4d1fd9c1d89e5ca033c1e0cbd2838180c2e01f8b (diff) | |
download | linux-8709bb2c1e902a64e257c740d301ba0d43065a1c.tar.bz2 |
via-rhine: forbid holes in the receive descriptor ring.
Rationales:
- throttle work under memory pressure
- lower receive descriptor recycling latency for the network adapter
- lower the maintenance burden of uncommon paths
The patch is twofold:
- it fails early if the receive ring can't be completely initialized
at dev->open() time
- it drops packets on the floor in the napi receive handler so as to
keep the received ring full
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions