Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287983
b: refs/heads/master
c: 0541743
h: refs/heads/master
i:
  287981: 989847f
  287979: 7259afa
  287975: 5b1d055
  287967: 3162639
v: v3
  • Loading branch information
RongQing.Li authored and David S. Miller committed Feb 22, 2012
1 parent 112c7b2 commit e2ee1f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5095d64db1b978bdb31d30fed9e47dbf04f729be
refs/heads/master: 0541743b4b35f2ddc9e490b4e354930168b60d23
6 changes: 5 additions & 1 deletion trunk/drivers/net/ethernet/broadcom/cnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -3584,7 +3584,11 @@ static int cnic_get_v6_route(struct sockaddr_in6 *dst_addr,
fl6.flowi6_oif = dst_addr->sin6_scope_id;

*dst = ip6_route_output(&init_net, NULL, &fl6);
if (*dst)
if ((*dst)->error) {
dst_release(*dst);
*dst = NULL;
return -ENETUNREACH;
} else
return 0;
#endif

Expand Down

0 comments on commit e2ee1f7

Please sign in to comment.