<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/wireless/airo.c, branch linux-2.6.31.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.31.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.31.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-04-01T22:55:54Z</updated>
<entry>
<title>airo: fix setting zero length WEP key</title>
<updated>2010-04-01T22:55:54Z</updated>
<author>
<name>Stanislaw Gruszka</name>
</author>
<published>2010-02-02T14:34:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6abd25776543a369117d0903ccedbc7a324d68f'/>
<id>urn:sha1:e6abd25776543a369117d0903ccedbc7a324d68f</id>
<content type='text'>
commit f09c256375c7cf1e112b8ef6306cdd313490d7c0 upstream.

Patch prevents call set_wep_key() with zero key length. That fix long
standing regression since commit c0380693520b1a1e4f756799a0edc379378b462a
"airo: clean up WEP key operations". Additionally print call trace when
someone will try to use improper parameters, and remove key.len = 0
assignment, because it is in not possible code path.

Reported-by: Chris Siebenmann &lt;cks-rhbugzilla@cs.toronto.edu&gt;
Bisected-by: Chris Siebenmann &lt;cks-rhbugzilla@cs.toronto.edu&gt;
Tested-by: Chris Siebenmann &lt;cks@cs.toronto.edu&gt;
Cc: Dan Williams &lt;dcbw@redhat.com&gt;
Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>airo: Buffer overflow</title>
<updated>2009-07-27T19:19:36Z</updated>
<author>
<name>Roel Kluin</name>
</author>
<published>2009-07-25T21:02:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d0ccd021b23c18ea2d399fe4a43c955485c765c'/>
<id>urn:sha1:3d0ccd021b23c18ea2d399fe4a43c955485c765c</id>
<content type='text'>
SSID_rid has space for only 3 ssids.
txPowerLevels[i] is read before the bounds check for i

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Acked-by: Dan Williams &lt;dcbw@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>net: use symbolic values for ndo_start_xmit() return codes</title>
<updated>2009-06-13T08:18:50Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2009-06-12T06:22:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b548140225c6bbbbd560551dd1048b2c0ce58be'/>
<id>urn:sha1:5b548140225c6bbbbd560551dd1048b2c0ce58be</id>
<content type='text'>
Convert magic values 1 and -1 to NETDEV_TX_BUSY and NETDEV_TX_LOCKED respectively.

0 (NETDEV_TX_OK) is not changed to keep the noise down, except in very few cases
where its in direct proximity to one of the other values.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: fix network drivers ndo_start_xmit() return values (part 3)</title>
<updated>2009-06-13T08:18:37Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2009-06-12T04:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4153e77596c4caaf52293b0c6b2207d73ed8f1eb'/>
<id>urn:sha1:4153e77596c4caaf52293b0c6b2207d73ed8f1eb</id>
<content type='text'>
net: fix network drivers ndo_start_xmit() return values (part 3)

Fix up wireless drivers that return an errno value to qdisc_restart(), causing
qdisc_restart() to print a warning an requeue/retransmit the skb.

- airo: transmission not implemented for chip, intention is to free and abort
- ipw2200: transmission not implemented for promiscous mode, intention is to
           drop
- prism54: intention is to drop
- wl3501_cs: intention appears to be to drop
- zd1201: error counter indicates intention is to drop

All drivers compile tested.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>airo: fix airo_get_encode{,ext} buffer overflow like I mean it...</title>
<updated>2009-05-20T18:29:54Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2009-05-20T14:51:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=267d493b322b05984048aef8ea9b5b213490bbe0'/>
<id>urn:sha1:267d493b322b05984048aef8ea9b5b213490bbe0</id>
<content type='text'>
"airo: airo_get_encode{,ext} potential buffer overflow" was actually a
no-op, due to an unrecognized type overflow in an assignment.  Oddly,
gcc only seems to tell me about it when using -Wextra...grrr...

Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>airo: airo_get_encode{,ext} potential buffer overflow</title>
<updated>2009-05-11T19:07:01Z</updated>
<author>
<name>John W. Linville</name>
</author>
<published>2009-05-04T15:18:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aedec9226809ae9d1972f8f8079fc70206ee7a88'/>
<id>urn:sha1:aedec9226809ae9d1972f8f8079fc70206ee7a88</id>
<content type='text'>
Feeding the return code of get_wep_key directly to the length parameter
of memcpy is a bad idea since it could be -1...

Reported-by: Eugene Teo &lt;eugeneteo@kernel.sg&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>airo: queue SIOCSIWAUTH-requested auth mode change for next commit</title>
<updated>2009-04-16T14:39:10Z</updated>
<author>
<name>Dan Williams</name>
</author>
<published>2009-04-08T14:15:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=011f5c5bb20c08af93faa8bfd8d611c8cf85134f'/>
<id>urn:sha1:011f5c5bb20c08af93faa8bfd8d611c8cf85134f</id>
<content type='text'>
Code was clearly wrong, plus callers expect the mode change to happen as
soon as possible, not dropped on the floor until the next time some
other config value changes and a commit happens.

Signed-off-by: Dan Williams &lt;dcbw@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2009-03-31T01:46:43Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2009-03-31T01:46:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=15f7176eb1cccec0a332541285ee752b935c1c85'/>
<id>urn:sha1:15f7176eb1cccec0a332541285ee752b935c1c85</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
  wireless: remove duplicated .ndo_set_mac_address
  netfilter: xtables: fix IPv6 dependency in the cluster match
  tg3: Add GRO support.
  niu: Add GRO support.
  ucc_geth: Fix use-after-of_node_put() in ucc_geth_probe().
  gianfar: Fix use-after-of_node_put() in gfar_of_init().
  kernel: remove HIPQUAD()
  netpoll: store local and remote ip in net-endian
  netfilter: fix endian bug in conntrack printks
  dmascc: fix incomplete conversion to network_device_ops
  gso: Fix support for linear packets
  skbuff.h: fix missing kernel-doc
  ni5010: convert to net_device_ops
</content>
</entry>
<entry>
<title>proc 2/2: remove struct proc_dir_entry::owner</title>
<updated>2009-03-30T21:14:44Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2009-03-25T19:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99b76233803beab302123d243eea9e41149804f3'/>
<id>urn:sha1:99b76233803beab302123d243eea9e41149804f3</id>
<content type='text'>
Setting -&gt;owner as done currently (pde-&gt;owner = THIS_MODULE) is racy
as correctly noted at bug #12454. Someone can lookup entry with NULL
-&gt;owner, thus not pinning enything, and release it later resulting
in module refcount underflow.

We can keep -&gt;owner and supply it at registration time like -&gt;proc_fops
and -&gt;data.

But this leaves -&gt;owner as easy-manipulative field (just one C assignment)
and somebody will forget to unpin previous/pin current module when
switching -&gt;owner. -&gt;proc_fops is declared as "const" which should give
some thoughts.

-&gt;read_proc/-&gt;write_proc were just fixed to not require -&gt;owner for
protection.

rmmod'ed directories will be empty and return "." and ".." -- no harm.
And directories with tricky enough readdir and lookup shouldn't be modular.
We definitely don't want such modular code.

Removing -&gt;owner will also make PDE smaller.

So, let's nuke it.

Kudos to Jeff Layton for reminding about this, let's say, oversight.

http://bugzilla.kernel.org/show_bug.cgi?id=12454

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
</content>
</entry>
<entry>
<title>wireless: remove duplicated .ndo_set_mac_address</title>
<updated>2009-03-29T20:52:21Z</updated>
<author>
<name>Alexander Beregalov</name>
</author>
<published>2009-03-29T20:52:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=321dee6e8b235c496f0a068a72d8df9a4e13ceb9'/>
<id>urn:sha1:321dee6e8b235c496f0a068a72d8df9a4e13ceb9</id>
<content type='text'>
Signed-off-by: Alexander Beregalov &lt;a.beregalov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

</content>
</entry>
</feed>
