]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ipv6: refactor ipv6_dev_mc_inc()
authorWANG Cong <xiyou.wangcong@gmail.com>
Thu, 11 Sep 2014 22:35:16 +0000 (15:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 20:38:42 +0000 (16:38 -0400)
commit1691c63ea42d6f57ba769df401b9773664edb936
tree1456a054df7e78b1e4f10fac2041b3673e2b35de
parentf7ed925c1b4d62e82b72d8e99fa4be52fb0c73b6
ipv6: refactor ipv6_dev_mc_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/mcast.c