diff options
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index aacbb7688bf9..b47cce8fea44 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -753,7 +753,7 @@ static int tcp_v6_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key, | |||
753 | 753 | ||
754 | hp = tcp_get_md5sig_pool(); | 754 | hp = tcp_get_md5sig_pool(); |
755 | if (!hp) { | 755 | if (!hp) { |
756 | printk(KERN_WARNING "%s(): hash pool not found...\n", __FUNCTION__); | 756 | printk(KERN_WARNING "%s(): hash pool not found...\n", __func__); |
757 | goto clear_hash_noput; | 757 | goto clear_hash_noput; |
758 | } | 758 | } |
759 | bp = &hp->md5_blk.ip6; | 759 | bp = &hp->md5_blk.ip6; |
@@ -793,17 +793,17 @@ static int tcp_v6_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key, | |||
793 | /* Now store the hash into the packet */ | 793 | /* Now store the hash into the packet */ |
794 | err = crypto_hash_init(desc); | 794 | err = crypto_hash_init(desc); |
795 | if (err) { | 795 | if (err) { |
796 | printk(KERN_WARNING "%s(): hash_init failed\n", __FUNCTION__); | 796 | printk(KERN_WARNING "%s(): hash_init failed\n", __func__); |
797 | goto clear_hash; | 797 | goto clear_hash; |
798 | } | 798 | } |
799 | err = crypto_hash_update(desc, sg, nbytes); | 799 | err = crypto_hash_update(desc, sg, nbytes); |
800 | if (err) { | 800 | if (err) { |
801 | printk(KERN_WARNING "%s(): hash_update failed\n", __FUNCTION__); | 801 | printk(KERN_WARNING "%s(): hash_update failed\n", __func__); |
802 | goto clear_hash; | 802 | goto clear_hash; |
803 | } | 803 | } |
804 | err = crypto_hash_final(desc, md5_hash); | 804 | err = crypto_hash_final(desc, md5_hash); |
805 | if (err) { | 805 | if (err) { |
806 | printk(KERN_WARNING "%s(): hash_final failed\n", __FUNCTION__); | 806 | printk(KERN_WARNING "%s(): hash_final failed\n", __func__); |
807 | goto clear_hash; | 807 | goto clear_hash; |
808 | } | 808 | } |
809 | 809 | ||