summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2008-02-15 09:53:59 -0500
committerVlad Yasevich <vladislav.yasevich@hp.com>2008-02-28 16:41:05 -0500
commit15efbe763978d7cc327d824d9e8f8f9e525dd40d (patch)
treeb327c7e80268d2362f20f3cf8ec9dffaf33869c9 /net/socket.c
parentb90a137d30a6322d76023d879d40fc31f3edf0a6 (diff)
[SCTP]: Clean up naming conventions of sctp protocol/address family registration
I noticed while looking into some odd behavior in sctp, that the variable name sctp_pf_inet6_specific was used twice to represent two different pieces of data (its both a structure name and a pointer to that type of structure), which is confusing to say the least, and potentially dangerous depending on the variable scope. This patch cleans that up, and makes the protocol and address family registration names in SCTP more regular, increasing readability. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> ipv6.c | 12 ++++++------ protocol.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-)
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions