diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-10-14 11:13:56 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-10-14 11:13:56 +0200 |
commit | 68bc34c0e88b6eff8279201bdc2d16dab7a4dd68 (patch) | |
tree | a9308afc1de52aee200906969bd2ee98f53ee335 /proto_none.c | |
parent | de964cc2a201e442ddcd27f91ed6eef1a096c3b6 (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 'proto_none.c')
0 files changed, 0 insertions, 0 deletions