In a GENERIC-NODEBUG kernel, the command netperf -H lip3 -t TCP_MAERTS -D 1 repeated 6 times on the modified code produced these lines:
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
65536 32768 32768 10.00 3619.76
65536 32768 32768 10.00 3591.65
65536 32768 32768 10.00 3499.72
65536 32768 32768 10.00 3299.41
65536 32768 32768 10.00 3492.25
65536 32768 32768 10.00 3266.21
and on the unmodified code produced these lines:
65536 32768 32768 10.00 3544.47
65536 32768 32768 10.00 3298.67
65536 32768 32768 10.00 3464.01
65536 32768 32768 10.00 3259.26
65536 32768 32768 10.00 3448.33
65536 32768 32768 10.00 3420.01