csum: Remove unnecessary memset in p4_csum()
commit68bc34c0e88b6eff8279201bdc2d16dab7a4dd68
authorTobias Klauser <tklauser@distanz.ch>
Wed, 14 Oct 2015 09:13:56 +0000 (14 11:13 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Wed, 14 Oct 2015 09:13:56 +0000 (14 11:13 +0200)
treea9308afc1de52aee200906969bd2ee98f53ee335
parentde964cc2a201e442ddcd27f91ed6eef1a096c3b6
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>
csum.h