<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net, branch v2.6.35.11</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/net?h=v2.6.35.11</id>
<link rel='self' href='https://git.amat.us/linux/atom/net?h=v2.6.35.11'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-02-06T19:04:07Z</updated>
<entry>
<title>mac80211: fix initialization of skb-&gt;cb in ieee80211_subif_start_xmit</title>
<updated>2011-02-06T19:04:07Z</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2010-12-18T18:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d3fef978044748b2ebf601abe96f52863b107e47'/>
<id>urn:sha1:d3fef978044748b2ebf601abe96f52863b107e47</id>
<content type='text'>
[ upstream commit 489ee9195a7de9e6bc833d639ff6b553ffdad90e ]

The change 'mac80211: Fix BUG in pskb_expand_head when transmitting shared skbs'
added a check for copying the skb if it's shared, however the tx info variable
still points at the cb of the old skb

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;
Acked-by: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>mac80211: fix mesh forwarding when ratelimited too</title>
<updated>2011-02-06T19:04:07Z</updated>
<author>
<name>Milton Miller</name>
<email>miltonm@bga.com</email>
</author>
<published>2010-12-30T08:01:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f973dacde9f9eddd6ead17532d1a5b6e45a0fc72'/>
<id>urn:sha1:f973dacde9f9eddd6ead17532d1a5b6e45a0fc72</id>
<content type='text'>
[ upstream commit 919bbad580445801c22ef6ccbe624551fee652bd ]

Commit b51aff057c9d0ef6c529dc25fd9f775faf7b6c63 said:

    Under memory pressure, the mac80211 mesh code
    may helpfully print a message that it failed
    to clone a mesh frame and then will proceed
    to crash trying to use it anyway. Fix that.

Avoid the reference whenever the frame copy is unsuccessful
regardless of the debug message being suppressed or printed.

Cc: stable@kernel.org [2.6.27+]
Signed-off-by: Milton Miller &lt;miltonm@bga.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>mac80211: fix hard lockup in sta_addba_resp_timer_expired</title>
<updated>2011-02-06T19:03:53Z</updated>
<author>
<name>Stanislaw Gruszka</name>
<email>sgruszka@redhat.com</email>
</author>
<published>2011-01-10T12:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f776b89f14c57f89a21110b8e78d9dafe71ae80d'/>
<id>urn:sha1:f776b89f14c57f89a21110b8e78d9dafe71ae80d</id>
<content type='text'>
Problem is 2.6.35 specific, bug was introduced in backport
of upstream 44271488b91c9eecf249e075a1805dd887e222d2 commit.

We can not call del_timer_sync(addba_resp_timer) from
___ieee80211_stop_tx_ba_session(), as this function can be called from
that timer callback. To fix, simply use not synchronous del_timer().

Resolve https://bugzilla.redhat.com/show_bug.cgi?id=667459

Reported-and-tested-by: Mathieu Chouquet-Stringer &lt;mathieu-acct@csetco.com&gt;
Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>mac80211: fix mesh forwarding</title>
<updated>2011-02-06T19:03:51Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2010-12-22T09:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9c7d253b2ba4a6621b19e439cdb1441e802374e5'/>
<id>urn:sha1:9c7d253b2ba4a6621b19e439cdb1441e802374e5</id>
<content type='text'>
commit b51aff057c9d0ef6c529dc25fd9f775faf7b6c63 upstream.

Under memory pressure, the mac80211 mesh code
may helpfully print a message that it failed
to clone a mesh frame and then will proceed
to crash trying to use it anyway. Fix that.

Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Acked-by: Javier Cardona &lt;javier@cozybit.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>net: packet: fix information leak to userland</title>
<updated>2011-02-06T19:03:40Z</updated>
<author>
<name>Vasiliy Kulikov</name>
<email>segooon@gmail.com</email>
</author>
<published>2010-11-10T20:09:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d3c6045fee29a799083d3431da555053e3140eaf'/>
<id>urn:sha1:d3c6045fee29a799083d3431da555053e3140eaf</id>
<content type='text'>
[ Upstream commit 67286640f638f5ad41a946b9a3dc75327950248f ]

packet_getname_spkt() doesn't initialize all members of sa_data field of
sockaddr struct if strlen(dev-&gt;name) &lt; 13.  This structure is then copied
to userland.  It leads to leaking of contents of kernel stack memory.
We have to fully fill sa_data with strncpy() instead of strlcpy().

The same with packet_getname(): it doesn't initialize sll_pkttype field of
sockaddr_ll.  Set it to zero.

Signed-off-by: Vasiliy Kulikov &lt;segooon@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>net: Fix header size check for GSO case in recvmsg (af_packet)</title>
<updated>2011-02-06T19:03:39Z</updated>
<author>
<name>Mariusz Kozlowski</name>
<email>mk@lab.zgora.pl</email>
</author>
<published>2010-11-08T11:58:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=64c80cfe40b35c06a7cbf2806fcc2c14460405ab'/>
<id>urn:sha1:64c80cfe40b35c06a7cbf2806fcc2c14460405ab</id>
<content type='text'>
[ Upstream commit 1f18b7176e2e41fada24584ce3c80e9abfaca52b]

Parameter 'len' is size_t type so it will never get negative.

Signed-off-by: Mariusz Kozlowski &lt;mk@lab.zgora.pl&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>net/dst: dst_dev_event() called after other notifiers</title>
<updated>2011-02-06T19:03:39Z</updated>
<author>
<name>Eric Dumazet</name>
<email>eric.dumazet@gmail.com</email>
</author>
<published>2010-11-09T19:46:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=44a913f55f16aa0495a378f62252512cf3ad4b29'/>
<id>urn:sha1:44a913f55f16aa0495a378f62252512cf3ad4b29</id>
<content type='text'>
[ Upstream commit 332dd96f7ac15e937088fe11f15cfe0210e8edd1 ]

Followup of commit ef885afbf8a37689 (net: use rcu_barrier() in
rollback_registered_many)

dst_dev_event() scans a garbage dst list that might be feeded by various
network notifiers at device dismantle time.

Its important to call dst_dev_event() after other notifiers, or we might
enter the infamous msleep(250) in netdev_wait_allrefs(), and wait one
second before calling again call_netdevice_notifiers(NETDEV_UNREGISTER,
dev) to properly remove last device references.

Use priority -10 to let dst_dev_notifier be called after other network
notifiers (they have the default 0 priority)

Reported-by: Ben Greear &lt;greearb@candelatech.com&gt;
Reported-by: Nicolas Dichtel &lt;nicolas.dichtel@6wind.com&gt;
Reported-by: Octavian Purdila &lt;opurdila@ixiacom.com&gt;
Reported-by: Benjamin LaHaise &lt;bcrl@kvack.org&gt;
Tested-by: Ben Greear &lt;greearb@candelatech.com&gt;
Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>x25: decrement netdev reference counts on unload</title>
<updated>2011-02-06T19:03:39Z</updated>
<author>
<name>Apollon Oikonomopoulos</name>
<email>apollon@noc.grnet.gr</email>
</author>
<published>2010-12-07T09:43:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0ead25e6311a5b894daf6dae9a9734a3262f8f89'/>
<id>urn:sha1:0ead25e6311a5b894daf6dae9a9734a3262f8f89</id>
<content type='text'>
[ Upstream commit 171995e5d82dcc92bea37a7d2a2ecc21068a0f19]

x25 does not decrement the network device reference counts on module unload.
Thus unregistering any pre-existing interface after unloading the x25 module
hangs and results in

 unregister_netdevice: waiting for tap0 to become free. Usage count = 1

This patch decrements the reference counts of all interfaces in x25_link_free,
the way it is already done in x25_link_device_down for NETDEV_DOWN events.

Signed-off-by: Apollon Oikonomopoulos &lt;apollon@noc.grnet.gr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>l2tp: Fix modalias of l2tp_ip</title>
<updated>2011-02-06T19:03:39Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-12-06T02:39:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=41075cd5d8e431ad7f8eb4d57f851a7ad8fadc77'/>
<id>urn:sha1:41075cd5d8e431ad7f8eb4d57f851a7ad8fadc77</id>
<content type='text'>
[ Upstream commit e8d34a884e4ff118920bb57664def8a73b1b784f]

Using the SOCK_DGRAM enum results in
"net-pf-2-proto-SOCK_DGRAM-type-115", so use the numeric value like it
is done in net/dccp.

Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>econet: Fix crash in aun_incoming().</title>
<updated>2011-02-06T19:03:38Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-12-09T02:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f59cbe486092c277cb7c00f048ed6701ebf6cdfa'/>
<id>urn:sha1:f59cbe486092c277cb7c00f048ed6701ebf6cdfa</id>
<content type='text'>
[ Upstream commit 4e085e76cbe558b79b54cbab772f61185879bc64 ]

Unconditional use of skb-&gt;dev won't work here,
try to fetch the econet device via skb_dst()-&gt;dev
instead.

Suggested by Eric Dumazet.

Reported-by: Nelson Elhage &lt;nelhage@ksplice.com&gt;
Tested-by: Nelson Elhage &lt;nelhage@ksplice.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

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