You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Borkmann
2e0c9e7911
net: sctp: sctp_association_init: put refs in reverse order
...
In case we need to bail out for whatever reason during assoc
init, we call sctp_endpoint_put() and then sock_put(), however,
we've hold both refs in reverse, non-symmetric order, so first
sctp_endpoint_hold() and then sock_hold().
Reverse this, so that in an error case we have sock_put() and then
sctp_endpoint_put(). Actually shouldn't matter too much, since both
cleanup paths do the right thing, but that way, it is more consistent
with the rest of the code.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 years ago
..
Kconfig
…
Makefile
…
associola.c
net: sctp: sctp_association_init: put refs in reverse order
12 years ago
auth.c
…
bind_addr.c
net: sctp: sctp_bind_addr: remove dead code
12 years ago
chunk.c
…
command.c
…
debug.c
…
endpointola.c
net: sctp: minor: make sctp_ep_common's member 'dead' a bool
12 years ago
input.c
sctp: Correct byte order of access to skb->{network, transport}_header
12 years ago
inqueue.c
net: sctp: sctp_inq: remove dead code
12 years ago
ipv6.c
sctp: Correct byte order of access to skb->{network, transport}_header
12 years ago
objcnt.c
…
output.c
net: sctp: minor: remove dead code from sctp_packet
12 years ago
outqueue.c
net: sctp: outqueue: simplify sctp_outq_uncork function
12 years ago
primitive.c
…
probe.c
net: sctp: attribute printl with __printf for gcc fmt checks
12 years ago
proc.c
net: sctp: sideeffect: throw BUG if primary_path is NULL
12 years ago
protocol.c
net: sctp: remove cast for kmalloc/kzalloc return value
12 years ago
sm_make_chunk.c
…
sm_sideeffect.c
net: sctp: sideeffect: throw BUG if primary_path is NULL
12 years ago
sm_statefuns.c
net: sctp: sctp_sf_do_prm_asoc: do SCTP_CMD_INIT_CHOOSE_TRANSPORT first
12 years ago
sm_statetable.c
…
socket.c
net: sctp: minor: remove variable in sctp_init_sock
12 years ago
ssnmap.c
net: sctp: sctp_ssnmap: remove 'malloced' element from struct
12 years ago
sysctl.c
net: Convert uses of typedef ctl_table to struct ctl_table
12 years ago
transport.c
net: sctp: sctp_transport: remove unused variable
12 years ago
tsnmap.c
…
ulpevent.c
…
ulpqueue.c
net: sctp: sctp_ulpq: remove 'malloced' struct member
12 years ago