Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287371
b: refs/heads/master
c: 9f9ef6d
h: refs/heads/master
i:
  287369: 53cfec6
  287367: 133ecf4
v: v3
  • Loading branch information
Dax Kelson authored and Nicholas Bellinger committed Feb 7, 2012
1 parent 1f2868f commit 8d296cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c55125f4794f4e77574fc09839cb47b0eb45b06
refs/heads/master: 9f9ef6d3c08319defc29e4cf6ef2868d15ed0cc3
8 changes: 8 additions & 0 deletions trunk/drivers/target/iscsi/iscsi_target_login.c
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,14 @@ int iscsi_target_setup_login_socket(
goto fail;
}

ret = kernel_setsockopt(sock, IPPROTO_IP, IP_FREEBIND,
(char *)&opt, sizeof(opt));
if (ret < 0) {
pr_err("kernel_setsockopt() for IP_FREEBIND"
" failed\n");
goto fail;
}

ret = kernel_bind(sock, (struct sockaddr *)&np->np_sockaddr, len);
if (ret < 0) {
pr_err("kernel_bind() failed: %d\n", ret);
Expand Down

0 comments on commit 8d296cb

Please sign in to comment.