]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Use ipv6_get_dsfield() instead of ipv6_tclass().
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Sun, 13 Jan 2013 05:02:01 +0000 (05:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jan 2013 01:17:14 +0000 (20:17 -0500)
commit415d64d4f8b63127ea22d56753aa6ad6d9c1a633
tree9d721fcbce3426c2538fc063269deaa5da8fa45a
parentca0cde24493ec46cf6a46b3fd375787f97595121
ipv6: Use ipv6_get_dsfield() instead of ipv6_tclass().

Commit 033b6745 ("ipv6: helper function to get tclass") introduced
ipv6_tclass(), but similar function is already available as
ipv6_get_dsfield().

We might be able to call ipv6_tclass() from ipv6_get_dsfield(),
but it is confusing to have two versions.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h
net/ipv6/datagram.c
net/ipv6/tcp_ipv6.c