use isc_refcount_decrement to decrement NEWCONNSOCK(dev)->references; use...

use isc_refcount_decrement to decrement NEWCONNSOCK(dev)->references; use isc_refcount_increment instead of isc_refcount_init in socket_create

(cherry picked from commit 265554f8)
39 jobs for !1845 with cleanup-socket-references-v9_14 in 13 minutes and 2 seconds (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #218605
linux amd64
🐞:sid:amd64

00:00:39

passed #218604
linux amd64
misc:sid:amd64

00:00:17

 
  Build
passed #218616
linux amd64
asan:sid:amd64

00:01:30

passed #218617
linux amd64
clang:stretch:amd64

00:01:11

passed #218618
linux i386
clang:stretch:i386

00:02:26

passed #218606
linux amd64
docs:sid:amd64

00:00:58

passed #218615
linux amd64
gcc:bionic:amd64

00:02:43

passed #218607
linux amd64
gcc:centos6:amd64

00:02:06

passed #218608
linux amd64
gcc:centos7:amd64

00:01:56

passed #218613
linux amd64
gcc:fedora29:amd64

00:02:09

passed #218609
linux amd64
gcc:jessie:amd64

00:01:29

passed #218611
linux amd64
gcc:sid:amd64

00:04:05

passed #218612
linux i386
gcc:sid:i386

00:04:16

passed #218610
linux amd64
gcc:stretch:amd64

00:03:45

passed #218614
linux amd64
gcc:xenial:amd64

00:01:18

passed #218619
linux amd64
pkcs11:sid:amd64

00:03:59

 
  Test
passed #218638
linux amd64
system:asan:sid:amd64

00:08:03

passed #218636
linux amd64
system:gcc:bionic:amd64

00:06:30

passed #218620
linux amd64
system:gcc:centos6:amd64

00:06:26

passed #218622
linux amd64
system:gcc:centos7:amd64

00:06:18

passed #218632
linux amd64
system:gcc:fedora29:amd64

00:06:44

passed #218624
linux amd64
system:gcc:jessie:amd64

00:06:32

passed #218628
linux amd64
system:gcc:sid:amd64

00:06:33

passed #218630
linux i386
system:gcc:sid:i386

00:06:37

passed #218626
linux amd64
system:gcc:stretch:amd64

00:06:42

passed #218634
linux amd64
system:gcc:xenial:amd64

00:06:30

passed #218641
linux amd64
system:pkcs11:sid:amd64

00:06:30

passed #218639
linux amd64
unit:asan:sid:amd64

00:01:00

passed #218640
linux amd64
unit:clang:stretch:amd64

00:00:46

passed #218637
linux amd64
unit:gcc:bionic:amd64

00:00:45

passed #218621
linux amd64
unit:gcc:centos6:amd64

00:00:47

passed #218623
linux amd64
unit:gcc:centos7:amd64

00:00:48

passed #218633
linux amd64
unit:gcc:fedora29:amd64

00:00:48

passed #218625
linux amd64
unit:gcc:jessie:amd64

00:00:29

passed #218629
linux amd64
unit:gcc:sid:amd64

00:00:45

passed #218631
linux i386
unit:gcc:sid:i386

00:00:57

passed #218627
linux amd64
unit:gcc:stretch:amd64

00:00:55

passed #218635
linux amd64
unit:gcc:xenial:amd64

00:01:01

passed #218642
linux amd64
unit:pkcs11:sid:amd64

00:00:57