{"action":"created","comment":{"url":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/comments/22641977","id":22641977,"diff_hunk":"@@ -88,11 +116,28 @@ static bool mptcp_is_available(struct sock *sk, const struct sk_buff *skb,\n \t */\n \tif (skb && !zero_wnd_test &&\n \t    after(tp->write_seq + min(skb->len, mss_now), tcp_wnd_end(tp)))\n+\t\treturn true;\n+\n+\treturn false;\n+}\n+\n+/* If the sub-socket sk available to send the skb? */","path":"net/mptcp/mptcp_sched.c","position":133,"original_position":133,"commit_id":"d68323ea14ad810226ea8e6b024442e94058454a","original_commit_id":"d68323ea14ad810226ea8e6b024442e94058454a","user":{"login":"chrpinedo","id":2324630,"avatar_url":"https://avatars.githubusercontent.com/u/2324630?v=3","gravatar_id":"","url":"https://api.github.com/users/chrpinedo","html_url":"https://github.com/chrpinedo","followers_url":"https://api.github.com/users/chrpinedo/followers","following_url":"https://api.github.com/users/chrpinedo/following{/other_user}","gists_url":"https://api.github.com/users/chrpinedo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrpinedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrpinedo/subscriptions","organizations_url":"https://api.github.com/users/chrpinedo/orgs","repos_url":"https://api.github.com/users/chrpinedo/repos","events_url":"https://api.github.com/users/chrpinedo/events{/privacy}","received_events_url":"https://api.github.com/users/chrpinedo/received_events","type":"User","site_admin":false},"body":"+1","created_at":"2015-01-08T09:28:10Z","updated_at":"2015-01-08T09:28:10Z","html_url":"https://github.com/multipath-tcp/mptcp/pull/68#discussion_r22641977","pull_request_url":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/comments/22641977"},"html":{"href":"https://github.com/multipath-tcp/mptcp/pull/68#discussion_r22641977"},"pull_request":{"href":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/68","id":26957548,"html_url":"https://github.com/multipath-tcp/mptcp/pull/68","diff_url":"https://github.com/multipath-tcp/mptcp/pull/68.diff","patch_url":"https://github.com/multipath-tcp/mptcp/pull/68.patch","issue_url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/68","number":68,"state":"open","locked":false,"title":"Improved the selection of subflows for the default scheduler","user":{"login":"chrpinedo","id":2324630,"avatar_url":"https://avatars.githubusercontent.com/u/2324630?v=3","gravatar_id":"","url":"https://api.github.com/users/chrpinedo","html_url":"https://github.com/chrpinedo","followers_url":"https://api.github.com/users/chrpinedo/followers","following_url":"https://api.github.com/users/chrpinedo/following{/other_user}","gists_url":"https://api.github.com/users/chrpinedo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrpinedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrpinedo/subscriptions","organizations_url":"https://api.github.com/users/chrpinedo/orgs","repos_url":"https://api.github.com/users/chrpinedo/repos","events_url":"https://api.github.com/users/chrpinedo/events{/privacy}","received_events_url":"https://api.github.com/users/chrpinedo/received_events","type":"User","site_admin":false},"body":"I reorganized the code as you suggested and tested it. It seems to work as expected. ","created_at":"2015-01-07T13:40:50Z","updated_at":"2015-01-08T09:28:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0d92f0e7dc651a9fc44021ea8f9b71a1ed5e26a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/68/commits","review_comments_url":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/68/comments","review_comment_url":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/comments/{number}","comments_url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/68/comments","statuses_url":"https://api.github.com/repos/multipath-tcp/mptcp/statuses/d68323ea14ad810226ea8e6b024442e94058454a","head":{"label":"chrpinedo:feat_improved_default_sched","ref":"feat_improved_default_sched","sha":"d68323ea14ad810226ea8e6b024442e94058454a","user":{"login":"chrpinedo","id":2324630,"avatar_url":"https://avatars.githubusercontent.com/u/2324630?v=3","gravatar_id":"","url":"https://api.github.com/users/chrpinedo","html_url":"https://github.com/chrpinedo","followers_url":"https://api.github.com/users/chrpinedo/followers","following_url":"https://api.github.com/users/chrpinedo/following{/other_user}","gists_url":"https://api.github.com/users/chrpinedo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrpinedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrpinedo/subscriptions","organizations_url":"https://api.github.com/users/chrpinedo/orgs","repos_url":"https://api.github.com/users/chrpinedo/repos","events_url":"https://api.github.com/users/chrpinedo/events{/privacy}","received_events_url":"https://api.github.com/users/chrpinedo/received_events","type":"User","site_admin":false},"repo":{"id":27765968,"name":"mptcp","full_name":"chrpinedo/mptcp","owner":{"login":"chrpinedo","id":2324630,"avatar_url":"https://avatars.githubusercontent.com/u/2324630?v=3","gravatar_id":"","url":"https://api.github.com/users/chrpinedo","html_url":"https://github.com/chrpinedo","followers_url":"https://api.github.com/users/chrpinedo/followers","following_url":"https://api.github.com/users/chrpinedo/following{/other_user}","gists_url":"https://api.github.com/users/chrpinedo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrpinedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrpinedo/subscriptions","organizations_url":"https://api.github.com/users/chrpinedo/orgs","repos_url":"https://api.github.com/users/chrpinedo/repos","events_url":"https://api.github.com/users/chrpinedo/events{/privacy}","received_events_url":"https://api.github.com/users/chrpinedo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrpinedo/mptcp","description":"Linux Kernel implementation of MultiPath TCP","fork":true,"url":"https://api.github.com/repos/chrpinedo/mptcp","forks_url":"https://api.github.com/repos/chrpinedo/mptcp/forks","keys_url":"https://api.github.com/repos/chrpinedo/mptcp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrpinedo/mptcp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrpinedo/mptcp/teams","hooks_url":"https://api.github.com/repos/chrpinedo/mptcp/hooks","issue_events_url":"https://api.github.com/repos/chrpinedo/mptcp/issues/events{/number}","events_url":"https://api.github.com/repos/chrpinedo/mptcp/events","assignees_url":"https://api.github.com/repos/chrpinedo/mptcp/assignees{/user}","branches_url":"https://api.github.com/repos/chrpinedo/mptcp/branches{/branch}","tags_url":"https://api.github.com/repos/chrpinedo/mptcp/tags","blobs_url":"https://api.github.com/repos/chrpinedo/mptcp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrpinedo/mptcp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrpinedo/mptcp/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrpinedo/mptcp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrpinedo/mptcp/statuses/{sha}","languages_url":"https://api.github.com/repos/chrpinedo/mptcp/languages","stargazers_url":"https://api.github.com/repos/chrpinedo/mptcp/stargazers","contributors_url":"https://api.github.com/repos/chrpinedo/mptcp/contributors","subscribers_url":"https://api.github.com/repos/chrpinedo/mptcp/subscribers","subscription_url":"https://api.github.com/repos/chrpinedo/mptcp/subscription","commits_url":"https://api.github.com/repos/chrpinedo/mptcp/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrpinedo/mptcp/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrpinedo/mptcp/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrpinedo/mptcp/issues/comments/{number}","contents_url":"https://api.github.com/repos/chrpinedo/mptcp/contents/{+path}","compare_url":"https://api.github.com/repos/chrpinedo/mptcp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrpinedo/mptcp/merges","archive_url":"https://api.github.com/repos/chrpinedo/mptcp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrpinedo/mptcp/downloads","issues_url":"https://api.github.com/repos/chrpinedo/mptcp/issues{/number}","pulls_url":"https://api.github.com/repos/chrpinedo/mptcp/pulls{/number}","milestones_url":"https://api.github.com/repos/chrpinedo/mptcp/milestones{/number}","notifications_url":"https://api.github.com/repos/chrpinedo/mptcp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrpinedo/mptcp/labels{/name}","releases_url":"https://api.github.com/repos/chrpinedo/mptcp/releases{/id}","created_at":"2014-12-09T12:41:15Z","updated_at":"2014-12-09T12:45:09Z","pushed_at":"2015-01-07T13:38:16Z","git_url":"git://github.com/chrpinedo/mptcp.git","ssh_url":"git@github.com:chrpinedo/mptcp.git","clone_url":"https://github.com/chrpinedo/mptcp.git","svn_url":"https://github.com/chrpinedo/mptcp","homepage":"http://multipath-tcp.org","size":972667,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"mptcp_v0.89"}},"base":{"label":"multipath-tcp:mptcp_trunk","ref":"mptcp_trunk","sha":"bb2fb414309e53c136f2aa429f3b6361e5665dd2","user":{"login":"multipath-tcp","id":2630482,"avatar_url":"https://avatars.githubusercontent.com/u/2630482?v=3","gravatar_id":"","url":"https://api.github.com/users/multipath-tcp","html_url":"https://github.com/multipath-tcp","followers_url":"https://api.github.com/users/multipath-tcp/followers","following_url":"https://api.github.com/users/multipath-tcp/following{/other_user}","gists_url":"https://api.github.com/users/multipath-tcp/gists{/gist_id}","starred_url":"https://api.github.com/users/multipath-tcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multipath-tcp/subscriptions","organizations_url":"https://api.github.com/users/multipath-tcp/orgs","repos_url":"https://api.github.com/users/multipath-tcp/repos","events_url":"https://api.github.com/users/multipath-tcp/events{/privacy}","received_events_url":"https://api.github.com/users/multipath-tcp/received_events","type":"Organization","site_admin":false},"repo":{"id":4749289,"name":"mptcp","full_name":"multipath-tcp/mptcp","owner":{"login":"multipath-tcp","id":2630482,"avatar_url":"https://avatars.githubusercontent.com/u/2630482?v=3","gravatar_id":"","url":"https://api.github.com/users/multipath-tcp","html_url":"https://github.com/multipath-tcp","followers_url":"https://api.github.com/users/multipath-tcp/followers","following_url":"https://api.github.com/users/multipath-tcp/following{/other_user}","gists_url":"https://api.github.com/users/multipath-tcp/gists{/gist_id}","starred_url":"https://api.github.com/users/multipath-tcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multipath-tcp/subscriptions","organizations_url":"https://api.github.com/users/multipath-tcp/orgs","repos_url":"https://api.github.com/users/multipath-tcp/repos","events_url":"https://api.github.com/users/multipath-tcp/events{/privacy}","received_events_url":"https://api.github.com/users/multipath-tcp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/multipath-tcp/mptcp","description":"Linux Kernel implementation of MultiPath TCP","fork":false,"url":"https://api.github.com/repos/multipath-tcp/mptcp","forks_url":"https://api.github.com/repos/multipath-tcp/mptcp/forks","keys_url":"https://api.github.com/repos/multipath-tcp/mptcp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/multipath-tcp/mptcp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/multipath-tcp/mptcp/teams","hooks_url":"https://api.github.com/repos/multipath-tcp/mptcp/hooks","issue_events_url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/events{/number}","events_url":"https://api.github.com/repos/multipath-tcp/mptcp/events","assignees_url":"https://api.github.com/repos/multipath-tcp/mptcp/assignees{/user}","branches_url":"https://api.github.com/repos/multipath-tcp/mptcp/branches{/branch}","tags_url":"https://api.github.com/repos/multipath-tcp/mptcp/tags","blobs_url":"https://api.github.com/repos/multipath-tcp/mptcp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/multipath-tcp/mptcp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/multipath-tcp/mptcp/git/refs{/sha}","trees_url":"https://api.github.com/repos/multipath-tcp/mptcp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/multipath-tcp/mptcp/statuses/{sha}","languages_url":"https://api.github.com/repos/multipath-tcp/mptcp/languages","stargazers_url":"https://api.github.com/repos/multipath-tcp/mptcp/stargazers","contributors_url":"https://api.github.com/repos/multipath-tcp/mptcp/contributors","subscribers_url":"https://api.github.com/repos/multipath-tcp/mptcp/subscribers","subscription_url":"https://api.github.com/repos/multipath-tcp/mptcp/subscription","commits_url":"https://api.github.com/repos/multipath-tcp/mptcp/commits{/sha}","git_commits_url":"https://api.github.com/repos/multipath-tcp/mptcp/git/commits{/sha}","comments_url":"https://api.github.com/repos/multipath-tcp/mptcp/comments{/number}","issue_comment_url":"https://api.github.com/repos/multipath-tcp/mptcp/issues/comments/{number}","contents_url":"https://api.github.com/repos/multipath-tcp/mptcp/contents/{+path}","compare_url":"https://api.github.com/repos/multipath-tcp/mptcp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/multipath-tcp/mptcp/merges","archive_url":"https://api.github.com/repos/multipath-tcp/mptcp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/multipath-tcp/mptcp/downloads","issues_url":"https://api.github.com/repos/multipath-tcp/mptcp/issues{/number}","pulls_url":"https://api.github.com/repos/multipath-tcp/mptcp/pulls{/number}","milestones_url":"https://api.github.com/repos/multipath-tcp/mptcp/milestones{/number}","notifications_url":"https://api.github.com/repos/multipath-tcp/mptcp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/multipath-tcp/mptcp/labels{/name}","releases_url":"https://api.github.com/repos/multipath-tcp/mptcp/releases{/id}","created_at":"2012-06-22T08:58:15Z","updated_at":"2015-01-06T11:27:49Z","pushed_at":"2014-12-23T18:48:38Z","git_url":"git://github.com/multipath-tcp/mptcp.git","ssh_url":"git@github.com:multipath-tcp/mptcp.git","clone_url":"https://github.com/multipath-tcp/mptcp.git","svn_url":"https://github.com/multipath-tcp/mptcp","homepage":"http://multipath-tcp.org","size":1362141,"stargazers_count":177,"watchers_count":177,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":69,"mirror_url":null,"open_issues_count":16,"forks":69,"open_issues":16,"watchers":177,"default_branch":"mptcp_v0.89"}},"_links":{"self":{"href":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/68"},"html":{"href":"https://github.com/multipath-tcp/mptcp/pull/68"},"issue":{"href":"https://api.github.com/repos/multipath-tcp/mptcp/issues/68"},"comments":{"href":"https://api.github.com/repos/multipath-tcp/mptcp/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/multipath-tcp/mptcp/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/multipath-tcp/mptcp/statuses/d68323ea14ad810226ea8e6b024442e94058454a"}}}}