summaryrefslogtreecommitdiff
path: root/netsniff-ng
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-14 11:13:56 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-10-14 11:13:56 +0200
commit68bc34c0e88b6eff8279201bdc2d16dab7a4dd68 (patch)
treea9308afc1de52aee200906969bd2ee98f53ee335 /netsniff-ng
parentde964cc2a201e442ddcd27f91ed6eef1a096c3b6 (diff)
csum: Remove unnecessary memset in p4_csum()
No need to memset the IPv4 pseudo header to 0 as all its members will explicitly be set. Also reorder the setting of the pseudo header to match the order of the fields. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng')
0 files changed, 0 insertions, 0 deletions
that P-state is the initial P-state when the P-map was first downloaded to AVS. It is *not* the current P-state. Therefore, we explicitly retrieve the P-state using the GET_PSTATE command. Signed-off-by: Markus Mayer <mmayer@broadcom.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/sched/ematch.c')