Page MenuHomeFreeBSD

if_mxge to update zlib version 1.0.4 to 1.2.11.
ClosedPublic

Authored by ota_j.email.ne.jp on May 16 2019, 4:34 AM.
Tags
None
Referenced Files
F156665098: D20272.id57434.diff
Fri, May 15, 1:00 PM
F156621049: D20272.id60379.diff
Fri, May 15, 4:30 AM
F156606536: D20272.id60415.diff
Fri, May 15, 1:55 AM
F156592377: D20272.id.diff
Thu, May 14, 10:51 PM
Unknown Object (File)
Tue, May 12, 1:59 AM
Unknown Object (File)
Sat, May 2, 11:41 PM
Unknown Object (File)
Thu, Apr 30, 7:45 PM
Unknown Object (File)
Thu, Apr 30, 6:36 AM

Details

Summary

Update if_mxge to use newer zlib version.
Also use zcalloc/zfree from ZLIB namespace.

This change depends on D20193 and D19706.
Let's figure out the best way to handle Z_SOLO and zalloc/zfree handling with D20271, first.

Test Plan

TBD

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

delphij requested changes to this revision.Jul 31 2019, 5:42 PM
delphij added inline comments.
sys/dev/mxge/if_mxge.c
727 ↗(On Diff #57434)

I think inflateInit() still expects zfree be set?

This revision now requires changes to proceed.Jul 31 2019, 5:42 PM

Given we added -DZ_SOLO to zlib, pass zfree function explicitly.

sys/dev/mxge/if_mxge.c
149 ↗(On Diff #60379)

We have had zlib dependency here.

Will commit after a tinderbox build.

This revision is now accepted and ready to land.Aug 2 2019, 4:16 AM
This revision was automatically updated to reflect the committed changes.