]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/rose/rose_route.c
Merge tag 'arc-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[mirror_ubuntu-bionic-kernel.git] / net / rose / rose_route.c
index 65921cd103233e4082dc1faa93d5660caaabe774..8ca3124df83fdae0af653a1dafd7737a9893100e 100644 (file)
@@ -346,6 +346,7 @@ static int rose_del_node(struct rose_route_struct *rose_route,
                                case 0:
                                        rose_node->neighbour[0] =
                                                rose_node->neighbour[1];
+                                       /* fall through */
                                case 1:
                                        rose_node->neighbour[1] =
                                                rose_node->neighbour[2];
@@ -507,6 +508,7 @@ void rose_rt_device_down(struct net_device *dev)
                                switch (i) {
                                case 0:
                                        t->neighbour[0] = t->neighbour[1];
+                                       /* fall through */
                                case 1:
                                        t->neighbour[1] = t->neighbour[2];
                                case 2: