Loading net/x25/x25_forward.c +45 −43 Original line number Diff line number Diff line Loading @@ -26,7 +26,8 @@ int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, short same_lci = 0; int rc = 0; if ((rt = x25_get_route(dest_addr)) != NULL) { if ((rt = x25_get_route(dest_addr)) == NULL) goto out_no_route; if ((neigh_new = x25_get_neigh(rt->dev)) == NULL) { /* This shouldnt happen, if it occurs somehow Loading Loading @@ -76,7 +77,6 @@ int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, } x25_transmit_link(skbn, neigh_new); rc = 1; } out_put_nb: Loading @@ -84,6 +84,8 @@ int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, out_put_route: x25_route_put(rt); out_no_route: return rc; } Loading Loading
net/x25/x25_forward.c +45 −43 Original line number Diff line number Diff line Loading @@ -26,7 +26,8 @@ int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, short same_lci = 0; int rc = 0; if ((rt = x25_get_route(dest_addr)) != NULL) { if ((rt = x25_get_route(dest_addr)) == NULL) goto out_no_route; if ((neigh_new = x25_get_neigh(rt->dev)) == NULL) { /* This shouldnt happen, if it occurs somehow Loading Loading @@ -76,7 +77,6 @@ int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, } x25_transmit_link(skbn, neigh_new); rc = 1; } out_put_nb: Loading @@ -84,6 +84,8 @@ int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, out_put_route: x25_route_put(rt); out_no_route: return rc; } Loading