| To: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: af_packet.c bug? |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Mon, 28 Mar 2005 12:18:06 -0800 |
| Cc: | tgraf@xxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <4248642E.40304@candelatech.com> |
| References: | <424858D4.8060604@candelatech.com> <20050328195557.GF3086@postel.suug.ch> <4248642E.40304@candelatech.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Mon, 28 Mar 2005 12:08:14 -0800 Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote: > I was also wondering why we couldn't hold a reference to the net-device > instead of just it's ifindex when dealing with a bound raw socket. Because then raw sockets could make unloading of netdevices hang forever. That is, unless you add some netdev notifier to af_packet.c that walks all the raw sockets looking for netdev references. I guess it also would make things like leaving a dump running while you quickly down/up and interface stop working. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: af_packet.c bug?, Thomas Graf |
|---|---|
| Next by Date: | Re: af_packet.c bug?, Ben Greear |
| Previous by Thread: | Re: af_packet.c bug?, Ben Greear |
| Next by Thread: | Re: af_packet.c bug?, Ben Greear |
| Indexes: | [Date] [Thread] [Top] [All Lists] |