]> git.baikalelectronics.ru Git - 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)
commit29c6c2259a1d61f5f70c4c89007824e34d8d6b36
tree1456a054df7e78b1e4f10fac2041b3673e2b35de
parent5f45cbe70a87ad67bf4c2ba1b9b7c7f42eb7ff65
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