]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: refactor __ipv6_dev_ac_inc()
authorWANG Cong <xiyou.wangcong@gmail.com>
Thu, 11 Sep 2014 22:35:12 +0000 (15:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 20:38:42 +0000 (16:38 -0400)
commit572a6f001a07ac1c6b67f9133bf534805bb2eefb
treeff658963e930a203ca95648fd7fef850186cdb23
parent5f9a36846dc6ca868339f34d5d08c9a3cbe526a9
ipv6: refactor __ipv6_dev_ac_inc()

Refactor out allocation and initialization and make
the refcount code more readable.

Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/anycast.c