[SCTP]: Clean up naming conventions of sctp protocol/address family registration
authorNeil Horman <nhorman@tuxdriver.com>
Fri, 15 Feb 2008 14:53:59 +0000 (09:53 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 28 Feb 2008 21:41:05 +0000 (16:41 -0500)
commit15efbe763978d7cc327d824d9e8f8f9e525dd40d
treeb327c7e80268d2362f20f3cf8ec9dffaf33869c9
parentb90a137d30a6322d76023d879d40fc31f3edf0a6
[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(-)
net/sctp/ipv6.c
net/sctp/protocol.c