]> err.no Git - linux-2.6/blobdiff - net/ax25/ax25_route.c
[PATCH] fix BUG_ON(!PageSlab) from fallback_alloc
[linux-2.6] / net / ax25 / ax25_route.c
index 8580356ace5c7af12edaf004e8227877c3539df0..0a0381622b1cb16ce7d630ae8c18d54938a8c3b2 100644 (file)
@@ -71,7 +71,7 @@ void ax25_rt_device_down(struct net_device *dev)
        write_unlock(&ax25_route_lock);
 }
 
-static int ax25_rt_add(struct ax25_routes_struct *route)
+static int __must_check ax25_rt_add(struct ax25_routes_struct *route)
 {
        ax25_route *ax25_rt;
        ax25_dev *ax25_dev;