diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-30 20:36:44 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-30 20:46:40 +0200 |
commit | 2ad7561f9f658f8dee168a76654c7d918e2260c7 (patch) | |
tree | 23f5067cf37d0c80eddbcd01ffbd7393026aee99 /LICENSE.GPL2 | |
parent | 6e34949d7207f9dff4e2b01a3037a0af88e1c25c (diff) |
sd-dhcp: avoid checksum calculation if possible
When receiving lots of packets that are not meant for us, we waste a relatively large amount
of cpu time computing their checksums before discarding them. Move the checksum calculation last
so we never compute it for packets which would otherwise be discarded.
Diffstat (limited to 'LICENSE.GPL2')
0 files changed, 0 insertions, 0 deletions