llc: fix SAP reference counting w.r.t. socket handling
authorOctavian Purdila <opurdila@ixiacom.com>
Sat, 26 Dec 2009 11:51:08 +0000 (11:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Dec 2009 04:47:23 +0000 (20:47 -0800)
commit3100aa9d74db9c6d8d9a3b6421721fc1aef4728f
treee0a6cea30070c594f9addf79d762cbe521b49c29
parent8beb9ab6c2df203e8d68cb1f48cf42604a6bed86
llc: fix SAP reference counting w.r.t. socket handling

The SAP ref counter gets decremented twice when deleting a socket,
although for all but the first socket of a SAP the SAP ref counter was
incremented only once.

Signed-off-by: Octavian Purdila <opurdila@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/af_llc.c