]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
rrcache: avoid knot_pkt_put
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 31 Mar 2017 14:18:56 +0000 (16:18 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 31 Mar 2017 14:29:56 +0000 (16:29 +0200)
commit58b709d6d3754843cf4aa3d49d1be35e04a0dea8
treea2913fefcf6dc98723632344e901975000328a82
parentc76ae2b56a14d1a35440f5b630d1122e3dba7751
rrcache: avoid knot_pkt_put

Constructing the wire format in rrcache was useless and it took 2-4 %
of time in the resperf profile.  Let's also pass the rank (used soon).
lib/cache.h
lib/layer/rrcache.c
lib/resolve.c
lib/utils.h