Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Issue 1550003: Stop watching the netlink file descriptor before the message pump is destroye... (Closed)

Created:
10 years, 8 months ago by eroman
Modified:
9 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Stop watching the netlink file descriptor before the message pump is destroyed. A better fix is to make FileDescriptorWatcher handle this internally, will track that as a follow-up issue. BUG=39932 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44296

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : Add HANDLE_EINTR wrapper #

Patch Set 5 : syn and resolve #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -8 lines) Patch
M net/base/network_change_notifier_linux.h View 1 2 3 4 3 chunks +11 lines, -2 lines 0 comments Download
M net/base/network_change_notifier_linux.cc View 1 2 3 4 4 chunks +20 lines, -6 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
eroman
Apparently I never published this. We discussed via email how this fits into the bigger ...
10 years, 8 months ago (2010-04-12 19:03:58 UTC) #1
willchan no longer on Chromium
lgtm http://codereview.chromium.org/1550003/diff/8001/9002 File net/base/network_change_notifier_linux.cc (right): http://codereview.chromium.org/1550003/diff/8001/9002#newcode97 net/base/network_change_notifier_linux.cc:97: if (close(netlink_fd_) != 0) I know you're just ...
10 years, 8 months ago (2010-04-12 22:04:24 UTC) #2
eroman
10 years, 8 months ago (2010-04-12 22:17:00 UTC) #3
On 2010/04/12 22:04:24, willchan wrote:
> lgtm
> 
> http://codereview.chromium.org/1550003/diff/8001/9002
> File net/base/network_change_notifier_linux.cc (right):
> 
> http://codereview.chromium.org/1550003/diff/8001/9002#newcode97
> net/base/network_change_notifier_linux.cc:97: if (close(netlink_fd_) != 0)
> I know you're just moving my bad code, but I see that I forgot to wrap this
call
> in HANDLE_EINTR.  Please add that in here.

Done.

Powered by Google App Engine
This is Rietveld 408576698