net: fix data race in benchmark If an error happens on a connection, server goroutine can call b.Logf after benchmark finishes. So join both client and server goroutines. Update issue 7718
net: fix data race in benchmark
If an error happens on a connection, server goroutine can call b.Logf
after benchmark finishes.
So join both client and server goroutines.
Update issue 7718

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/84750047

d0f/go-zh,rdp/rogerpack2005-golang,d0f/go-zh,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,d0f/go-zh,d0f/go-zh,bryanxu/go-zh,bryanxu/go-zh,sanjosh/sanjos100-tipc,webfd/go-zh,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,rdp/rogerpack2005-golang,webfd/go-zh,bryanxu/go-zh,d0f/go-zh,sanjosh/sanjos100-tipc,d0f/go-zh,bryanxu/go-zh,bryanxu/go-zh,bryanxu/go-zh,webfd/go-zh,rdp/rogerpack2005-golang,sanjosh/sanjos100-tipc,d0f/go-zh,webfd/go-zh,bryanxu/go-zh,rdp/rogerpack2005-golang,d0f/go-zh,rdp/rogerpack2005-golang,bryanxu/go-zh,rdp/rogerpack2005-golang,rdp/rogerpack2005-golang,webfd/go-zh,webfd/go-zh,webfd/go-zh,webfd/go-zh,sanjosh/sanjos100-tipc,rdp/rogerpack2005-golang