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)
commit7e80c124485b73146deadce14fd4da2054581806
treeda7349b9a75f669bd317729543a51406c778727c
parentdcd79aebe736e88d62aeb4a7712ac0ba7cc2aa96
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