Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311312 Details for
Bug 453084
Unable to set heartbeat interval for a one-to-one SCTP socket
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
debug patch
sctp_dbg.patch (text/plain), 2.58 KB, created by
Neil Horman
on 2008-07-08 20:23:56 UTC
(
hide
)
Description:
debug patch
Filename:
MIME Type:
Creator:
Neil Horman
Created:
2008-07-08 20:23:56 UTC
Size:
2.58 KB
patch
obsolete
>diff -up linux-2.6.9/net/sctp/socket.c.dbg linux-2.6.9/net/sctp/socket.c >--- linux-2.6.9/net/sctp/socket.c.dbg 2008-07-08 16:18:07.000000000 -0400 >+++ linux-2.6.9/net/sctp/socket.c 2008-07-08 16:22:35.000000000 -0400 >@@ -1742,6 +1742,7 @@ static int sctp_setsockopt_peer_addr_par > struct sctp_transport *trans; > int error; > >+ printk(KERN_CRIT "CALLING SCTP_SETSOCKOPT_PEER_ADDR_PARAMS\n"); > if (optlen != sizeof(struct sctp_paddrparams)) > return -EINVAL; > if (copy_from_user(¶ms, optval, optlen)) >@@ -1760,13 +1761,16 @@ static int sctp_setsockopt_peer_addr_par > * the association identification is 0, the settings are a default > * and to be applied to the endpoint (all future associations). > */ >- >+ printk(KERN_CRIT "CHECKING ASSOC ID\n"); > /* update default value for endpoint (all future associations) */ > if (!params.spp_assoc_id && > sctp_is_any(( union sctp_addr *)¶ms.spp_address)) { >- if (params.spp_hbinterval) >+ printk(KERN_CRIT "CHECKING HB INTERVAL\n"); >+ if (params.spp_hbinterval) { >+ printk(KERN_CRIT "SETTING HB INTERVAL on sctp_sk %p\n", sctp_sk(sk)); > sctp_sk(sk)->paddrparam.spp_hbinterval = > params.spp_hbinterval; >+ } > if (sctp_max_retrans_path) > sctp_sk(sk)->paddrparam.spp_pathmaxrxt = > params.spp_pathmaxrxt; >@@ -1782,6 +1786,7 @@ static int sctp_setsockopt_peer_addr_par > list_for_each_entry(trans, > &assoc->peer.transport_addr_list, > transports) { >+ printk(KERN_CRIT "SETTING HB INTERVAL ON TRANS %p\n",trans); > trans->hb_interval = msecs_to_jiffies(params.spp_hbinterval); > } > } >@@ -2951,6 +2956,7 @@ static int sctp_getsockopt_peer_addr_par > struct sctp_paddrparams params; > struct sctp_transport *trans; > >+ printk(KERN_CRIT "CALLING SCTP_GETSOCKOPT_PEER_ADDR_PARAMS\n"); > if (len != sizeof(struct sctp_paddrparams)) > return -EINVAL; > if (copy_from_user(¶ms, optval, len)) >@@ -2959,14 +2965,17 @@ static int sctp_getsockopt_peer_addr_par > /* If no association id is specified retrieve the default value > * for the endpoint that will be used for all future associations > */ >+ printk(KERN_CRIT "CHECKING ASSOC ID\n"); > if (!params.spp_assoc_id && > sctp_is_any(( union sctp_addr *)¶ms.spp_address)) { >+ printk(KERN_CRIT "GETTING DEFAULT HB INT FOR sctp_sk %p\n",sctp_sk(sk)); > params.spp_hbinterval = sctp_sk(sk)->paddrparam.spp_hbinterval; > params.spp_pathmaxrxt = sctp_sk(sk)->paddrparam.spp_pathmaxrxt; > > goto done; > } > >+ printk(KERN_CRIT "LOOKING FOR A SPECIFIC TRANSPORT\n"); > trans = sctp_addr_id2transport(sk, ¶ms.spp_address, > params.spp_assoc_id); > if (!trans)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 453084
:
310428
| 311312