David Miller <davem@davemloft.net> writes:The fact is it isn't broken WRT dev->priv at least (I don't know about random unrelated breakage). The drivers: a) alloc a netdev b) set dev->priv to some private kmalloced area It was like that for years, and it worked. The commit in question changed netdev_priv() and the drivers don't use this function. netdev_priv() was introduced at some point in time to allow alloc_netdev() to optionally allocate additional memory for internal use by the driver. It had nothing to do with dev->priv except "priv" name. The drivers don't use it passing size 0. This is probably suboptimal (two+ allocations instead of one), if the drivers had maintainers with access to hardware I guess it would be optimized, but it has nothing to do with the regression. The regression is present in HDLC PPP only, becase HDLC PPP actually used netdev_priv() (unlike non-HDLC PPP cases) as a means of addressing the area following net_device struct and not for retrieving dev->priv, and then the semantics suddenly changed. I would be happy as well. The problem is that nobody shown any idea how to do it. I have offered: I will port any existing sync serial driver to generic HDLC if I'm sent a free hardware sample. That includes old ISA cards (I still have an old 2*PII-333 ISA test machine), and porting PC300 T1/E1 code to pc300too. If some driver/hw has no users I think there is no point in keeping it on life support here. The same goes for syncppp - if/when the number of drivers using it drops to zero, we can let it go. -- Krzysztof Halasa -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| Justin Piszcz | Linux Software RAID 5 Performance Optimizations: 2.6.19.1: (211MB/s read & 195... |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| David P. Quigley | [RFC v3] Security Label Support for NFSv4 |
| YOSHIFUJI Hideaki / | [GIT PULL] [IPV6] COMPAT: Fix SSM applications on 64bit kernels. |
| Krzysztof Halasa | Re: [PATCH v2] Re: WAN: new PPP code for generic HDLC |
| Pavel Emelyanov | [PATCH][CAN]: Fix copy_from_user() results interpretation. |
| Roel Kluin | [PATCH 1] net: fix and typo's |
git: | |
| Peter Stahlir | Git as a filesystem |
| Miklos Vajna | [rfc] git submodules howto |
| Dan Zwell | $GIT_DIR usage |
| Wink Saville | Resolving conflicts |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Xavier Mertens | newfs: cg 0: bad magic number |
| Laurent CARON | IPSEC VPN between OpenBSD and Linux (OpenSwan) |
| Didier Wiroth | win32-codecs, avi and amd64 question |
| Netfilter kernel module | 8 hours ago | Linux kernel |
| serial driver xmit problem | 11 hours ago | Linux kernel |
| Why Windows is better than Linux | 11 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 18 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 1 day ago | Linux general |
| Compiling gfs2 on kernel 2.6.27 | 2 days ago | Linux kernel |
