public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Fw: [Bug 88871] New: SO_BINDTODEVICE set sock's sk_bound_dev_if ,but interface's index can chang where interface down and up
@ 2014-11-25 15:43 Stephen Hemminger
  2014-11-25 17:09 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2014-11-25 15:43 UTC (permalink / raw)
  To: netdev

This is not really a bug.

Begin forwarded message:

Date: Mon, 24 Nov 2014 22:50:49 -0800
From: "bugzilla-daemon@bugzilla.kernel.org" <bugzilla-daemon@bugzilla.kernel.org>
To: "stephen@networkplumber.org" <stephen@networkplumber.org>
Subject: [Bug 88871] New: SO_BINDTODEVICE set sock's sk_bound_dev_if ,but interface's index can chang where interface down and up


https://bugzilla.kernel.org/show_bug.cgi?id=88871

            Bug ID: 88871
           Summary: SO_BINDTODEVICE set sock's sk_bound_dev_if ,but
                    interface's index can chang where interface down and
                    up
           Product: Networking
           Version: 2.5
    Kernel Version: 3.4
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Other
          Assignee: shemminger@linux-foundation.org
          Reporter: 10142904@qq.com
        Regression: No

call setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, iface_brlan, iface_len + 1),
the sock's sk_bound_dev_if be set to iface_brlan's index, when i pull out other
cab and plug in,  the br-lan's index can changed, the tcp packet to the socket
be rest, because the orignal sk_bound_dev_if not match current br-lan's index

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bug 88871] New: SO_BINDTODEVICE set sock's sk_bound_dev_if ,but interface's index can chang where interface down and up
  2014-11-25 15:43 Fw: [Bug 88871] New: SO_BINDTODEVICE set sock's sk_bound_dev_if ,but interface's index can chang where interface down and up Stephen Hemminger
@ 2014-11-25 17:09 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-11-25 17:09 UTC (permalink / raw)
  To: stephen; +Cc: netdev

From: Stephen Hemminger <stephen@networkplumber.org>
Date: Tue, 25 Nov 2014 07:43:38 -0800

> This is not really a bug.

Agreed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-25 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-25 15:43 Fw: [Bug 88871] New: SO_BINDTODEVICE set sock's sk_bound_dev_if ,but interface's index can chang where interface down and up Stephen Hemminger
2014-11-25 17:09 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox