{"action":"closed","number":213,"pull_request":{"url":"https://api.github.com/repos/coreos/torus/pulls/213","id":72563290,"html_url":"https://github.com/coreos/torus/pull/213","diff_url":"https://github.com/coreos/torus/pull/213.diff","patch_url":"https://github.com/coreos/torus/pull/213.patch","issue_url":"https://api.github.com/repos/coreos/torus/issues/213","number":213,"state":"closed","locked":false,"title":"block/aoe: conditionally attach BPF filter if SetBPF method present","user":{"login":"mdlayher","id":1926905,"avatar_url":"https://avatars.githubusercontent.com/u/1926905?v=3","gravatar_id":"","url":"https://api.github.com/users/mdlayher","html_url":"https://github.com/mdlayher","followers_url":"https://api.github.com/users/mdlayher/followers","following_url":"https://api.github.com/users/mdlayher/following{/other_user}","gists_url":"https://api.github.com/users/mdlayher/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlayher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlayher/subscriptions","organizations_url":"https://api.github.com/users/mdlayher/orgs","repos_url":"https://api.github.com/users/mdlayher/repos","events_url":"https://api.github.com/users/mdlayher/events{/privacy}","received_events_url":"https://api.github.com/users/mdlayher/received_events","type":"User","site_admin":false},"body":"Trying to make this more testable.  This is the standard method name that is also used in `x/net/ipv{4,6}`, and I've implemented it in package `raw` as well:\r\n\r\nhttps://godoc.org/golang.org/x/net/ipv4#PacketConn.SetBPF\r\nhttps://godoc.org/golang.org/x/net/ipv6#PacketConn.SetBPF\r\nhttps://godoc.org/github.com/mdlayher/raw#Conn.SetBPF\r\n\r\nHaving some more `glide` woes: https://gist.github.com/mdlayher/3afb1b93ef42faeffb0e09408aabb60f, but `github.com/mdlayher/raw` will need another bump.","created_at":"2016-06-03T20:12:33Z","updated_at":"2016-06-03T20:29:26Z","closed_at":"2016-06-03T20:29:26Z","merged_at":"2016-06-03T20:29:26Z","merge_commit_sha":"04ffbb3d95aa8798f6db7b44b066010edb19da6c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/torus/pulls/213/commits","review_comments_url":"https://api.github.com/repos/coreos/torus/pulls/213/comments","review_comment_url":"https://api.github.com/repos/coreos/torus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/torus/issues/213/comments","statuses_url":"https://api.github.com/repos/coreos/torus/statuses/54d02e9449a3971a2368a5644f598c36f4339ffc","head":{"label":"mdlayher:aoe-bpf-conditional","ref":"aoe-bpf-conditional","sha":"54d02e9449a3971a2368a5644f598c36f4339ffc","user":{"login":"mdlayher","id":1926905,"avatar_url":"https://avatars.githubusercontent.com/u/1926905?v=3","gravatar_id":"","url":"https://api.github.com/users/mdlayher","html_url":"https://github.com/mdlayher","followers_url":"https://api.github.com/users/mdlayher/followers","following_url":"https://api.github.com/users/mdlayher/following{/other_user}","gists_url":"https://api.github.com/users/mdlayher/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlayher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlayher/subscriptions","organizations_url":"https://api.github.com/users/mdlayher/orgs","repos_url":"https://api.github.com/users/mdlayher/repos","events_url":"https://api.github.com/users/mdlayher/events{/privacy}","received_events_url":"https://api.github.com/users/mdlayher/received_events","type":"User","site_admin":false},"repo":{"id":60207635,"name":"torus","full_name":"mdlayher/torus","owner":{"login":"mdlayher","id":1926905,"avatar_url":"https://avatars.githubusercontent.com/u/1926905?v=3","gravatar_id":"","url":"https://api.github.com/users/mdlayher","html_url":"https://github.com/mdlayher","followers_url":"https://api.github.com/users/mdlayher/followers","following_url":"https://api.github.com/users/mdlayher/following{/other_user}","gists_url":"https://api.github.com/users/mdlayher/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlayher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlayher/subscriptions","organizations_url":"https://api.github.com/users/mdlayher/orgs","repos_url":"https://api.github.com/users/mdlayher/repos","events_url":"https://api.github.com/users/mdlayher/events{/privacy}","received_events_url":"https://api.github.com/users/mdlayher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mdlayher/torus","description":"Torus Distributed Storage","fork":true,"url":"https://api.github.com/repos/mdlayher/torus","forks_url":"https://api.github.com/repos/mdlayher/torus/forks","keys_url":"https://api.github.com/repos/mdlayher/torus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mdlayher/torus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mdlayher/torus/teams","hooks_url":"https://api.github.com/repos/mdlayher/torus/hooks","issue_events_url":"https://api.github.com/repos/mdlayher/torus/issues/events{/number}","events_url":"https://api.github.com/repos/mdlayher/torus/events","assignees_url":"https://api.github.com/repos/mdlayher/torus/assignees{/user}","branches_url":"https://api.github.com/repos/mdlayher/torus/branches{/branch}","tags_url":"https://api.github.com/repos/mdlayher/torus/tags","blobs_url":"https://api.github.com/repos/mdlayher/torus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mdlayher/torus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mdlayher/torus/git/refs{/sha}","trees_url":"https://api.github.com/repos/mdlayher/torus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mdlayher/torus/statuses/{sha}","languages_url":"https://api.github.com/repos/mdlayher/torus/languages","stargazers_url":"https://api.github.com/repos/mdlayher/torus/stargazers","contributors_url":"https://api.github.com/repos/mdlayher/torus/contributors","subscribers_url":"https://api.github.com/repos/mdlayher/torus/subscribers","subscription_url":"https://api.github.com/repos/mdlayher/torus/subscription","commits_url":"https://api.github.com/repos/mdlayher/torus/commits{/sha}","git_commits_url":"https://api.github.com/repos/mdlayher/torus/git/commits{/sha}","comments_url":"https://api.github.com/repos/mdlayher/torus/comments{/number}","issue_comment_url":"https://api.github.com/repos/mdlayher/torus/issues/comments{/number}","contents_url":"https://api.github.com/repos/mdlayher/torus/contents/{+path}","compare_url":"https://api.github.com/repos/mdlayher/torus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mdlayher/torus/merges","archive_url":"https://api.github.com/repos/mdlayher/torus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mdlayher/torus/downloads","issues_url":"https://api.github.com/repos/mdlayher/torus/issues{/number}","pulls_url":"https://api.github.com/repos/mdlayher/torus/pulls{/number}","milestones_url":"https://api.github.com/repos/mdlayher/torus/milestones{/number}","notifications_url":"https://api.github.com/repos/mdlayher/torus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mdlayher/torus/labels{/name}","releases_url":"https://api.github.com/repos/mdlayher/torus/releases{/id}","deployments_url":"https://api.github.com/repos/mdlayher/torus/deployments","created_at":"2016-06-01T20:13:37Z","updated_at":"2016-06-01T20:13:38Z","pushed_at":"2016-06-03T20:25:11Z","git_url":"git://github.com/mdlayher/torus.git","ssh_url":"git@github.com:mdlayher/torus.git","clone_url":"https://github.com/mdlayher/torus.git","svn_url":"https://github.com/mdlayher/torus","homepage":"","size":959,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"19c26d879ce5fc7f068d8633b8f81adc7006afd4","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":44835354,"name":"torus","full_name":"coreos/torus","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/torus","description":"Torus Distributed Storage","fork":false,"url":"https://api.github.com/repos/coreos/torus","forks_url":"https://api.github.com/repos/coreos/torus/forks","keys_url":"https://api.github.com/repos/coreos/torus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/torus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/torus/teams","hooks_url":"https://api.github.com/repos/coreos/torus/hooks","issue_events_url":"https://api.github.com/repos/coreos/torus/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/torus/events","assignees_url":"https://api.github.com/repos/coreos/torus/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/torus/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/torus/tags","blobs_url":"https://api.github.com/repos/coreos/torus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/torus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/torus/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/torus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/torus/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/torus/languages","stargazers_url":"https://api.github.com/repos/coreos/torus/stargazers","contributors_url":"https://api.github.com/repos/coreos/torus/contributors","subscribers_url":"https://api.github.com/repos/coreos/torus/subscribers","subscription_url":"https://api.github.com/repos/coreos/torus/subscription","commits_url":"https://api.github.com/repos/coreos/torus/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/torus/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/torus/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/torus/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/torus/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/torus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/torus/merges","archive_url":"https://api.github.com/repos/coreos/torus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/torus/downloads","issues_url":"https://api.github.com/repos/coreos/torus/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/torus/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/torus/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/torus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/torus/labels{/name}","releases_url":"https://api.github.com/repos/coreos/torus/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/torus/deployments","created_at":"2015-10-23T19:56:21Z","updated_at":"2016-06-03T20:08:01Z","pushed_at":"2016-06-03T20:29:26Z","git_url":"git://github.com/coreos/torus.git","ssh_url":"git@github.com:coreos/torus.git","clone_url":"https://github.com/coreos/torus.git","svn_url":"https://github.com/coreos/torus","homepage":"","size":996,"stargazers_count":815,"watchers_count":815,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":51,"forks":42,"open_issues":51,"watchers":815,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/torus/pulls/213"},"html":{"href":"https://github.com/coreos/torus/pull/213"},"issue":{"href":"https://api.github.com/repos/coreos/torus/issues/213"},"comments":{"href":"https://api.github.com/repos/coreos/torus/issues/213/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/torus/pulls/213/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/torus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/torus/pulls/213/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/torus/statuses/54d02e9449a3971a2368a5644f598c36f4339ffc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"barakmich","id":98356,"avatar_url":"https://avatars.githubusercontent.com/u/98356?v=3","gravatar_id":"","url":"https://api.github.com/users/barakmich","html_url":"https://github.com/barakmich","followers_url":"https://api.github.com/users/barakmich/followers","following_url":"https://api.github.com/users/barakmich/following{/other_user}","gists_url":"https://api.github.com/users/barakmich/gists{/gist_id}","starred_url":"https://api.github.com/users/barakmich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barakmich/subscriptions","organizations_url":"https://api.github.com/users/barakmich/orgs","repos_url":"https://api.github.com/users/barakmich/repos","events_url":"https://api.github.com/users/barakmich/events{/privacy}","received_events_url":"https://api.github.com/users/barakmich/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"barakmich"}}