]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: simplify multicast_add_router
authorstephen hemminger <shemminger@vyatta.com>
Tue, 27 Apr 2010 15:01:04 +0000 (15:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 01:13:53 +0000 (18:13 -0700)
commitecbc61083b00f6bd8dbe0dfb52949ceee05df202
treeda7349b9a75f669bd317729543a51406c778727c
parentff629bd08133e1c2c6a25e007f4d89ec074371ff
bridge: simplify multicast_add_router

By coding slightly differently, there are only two cases
to deal with: add at head and add after previous entry.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c