<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/net, branch v2.6.38-rc4</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2011-02-04T21:20:01+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-02-04T21:20:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=44f2c5c841da1b1e0864d768197ab1497b5c2cc1'/>
<id>44f2c5c841da1b1e0864d768197ab1497b5c2cc1</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (68 commits)
  net: can: janz-ican3: world-writable sysfs termination file
  net: can: at91_can: world-writable sysfs files
  MAINTAINERS: update email ids of the be2net driver maintainers.
  bridge: Don't put partly initialized fdb into hash
  r8169: prevent RxFIFO induced loops in the irq handler.
  r8169: RxFIFO overflow oddities with 8168 chipsets.
  r8169: use RxFIFO overflow workaround for 8168c chipset.
  include/net/genetlink.h: Allow genlmsg_cancel to accept a NULL argument
  net: Provide compat support for SIOCGETMIFCNT_IN6 and SIOCGETSGCNT_IN6.
  net: Support compat SIOCGETVIFCNT ioctl in ipv4.
  net: Fix bug in compat SIOCGETSGCNT handling.
  niu: Fix races between up/down and get_stats.
  tcp_ecn is an integer not a boolean
  atl1c: Add missing PCI device ID
  s390: Fix possibly wrong size in strncmp (smsgiucv)
  s390: Fix wrong size in memcmp (netiucv)
  qeth: allow OSA CHPARM change in suspend state
  qeth: allow HiperSockets framesize change in suspend
  qeth: add more strict MTU checking
  qeth: show new mac-address if its setting fails
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (68 commits)
  net: can: janz-ican3: world-writable sysfs termination file
  net: can: at91_can: world-writable sysfs files
  MAINTAINERS: update email ids of the be2net driver maintainers.
  bridge: Don't put partly initialized fdb into hash
  r8169: prevent RxFIFO induced loops in the irq handler.
  r8169: RxFIFO overflow oddities with 8168 chipsets.
  r8169: use RxFIFO overflow workaround for 8168c chipset.
  include/net/genetlink.h: Allow genlmsg_cancel to accept a NULL argument
  net: Provide compat support for SIOCGETMIFCNT_IN6 and SIOCGETSGCNT_IN6.
  net: Support compat SIOCGETVIFCNT ioctl in ipv4.
  net: Fix bug in compat SIOCGETSGCNT handling.
  niu: Fix races between up/down and get_stats.
  tcp_ecn is an integer not a boolean
  atl1c: Add missing PCI device ID
  s390: Fix possibly wrong size in strncmp (smsgiucv)
  s390: Fix wrong size in memcmp (netiucv)
  qeth: allow OSA CHPARM change in suspend state
  qeth: allow HiperSockets framesize change in suspend
  qeth: add more strict MTU checking
  qeth: show new mac-address if its setting fails
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>bridge: Don't put partly initialized fdb into hash</title>
<updated>2011-02-04T21:02:36+00:00</updated>
<author>
<name>Pavel Emelyanov</name>
<email>xemul@openvz.org</email>
</author>
<published>2011-02-04T21:02:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1158f762e57c1cdcda631c1c5f339e4853caa82b'/>
<id>1158f762e57c1cdcda631c1c5f339e4853caa82b</id>
<content type='text'>
The fdb_create() puts a new fdb into hash with only addr set. This is
not good, since there are callers, that search the hash w/o the lock
and access all the other its fields.

Applies to current netdev tree.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fdb_create() puts a new fdb into hash with only addr set. This is
not good, since there are callers, that search the hash w/o the lock
and access all the other its fields.

Applies to current netdev tree.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Provide compat support for SIOCGETMIFCNT_IN6 and SIOCGETSGCNT_IN6.</title>
<updated>2011-02-04T02:05:29+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-02-04T01:59:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e2d57766e6744f2956975dd2086d82957187b0f6'/>
<id>e2d57766e6744f2956975dd2086d82957187b0f6</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Support compat SIOCGETVIFCNT ioctl in ipv4.</title>
<updated>2011-02-04T01:24:28+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-02-04T01:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ca6b8bb097c8e0ab6bce4fa04584074dee17c0d9'/>
<id>ca6b8bb097c8e0ab6bce4fa04584074dee17c0d9</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Fix bug in compat SIOCGETSGCNT handling.</title>
<updated>2011-02-04T01:21:31+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-02-04T01:21:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0033d5ad27a6db33a55ff39951d3ec61a8c13b89'/>
<id>0033d5ad27a6db33a55ff39951d3ec61a8c13b89</id>
<content type='text'>
Commit 709b46e8d90badda1898caea50483c12af178e96 ("net: Add compat
ioctl support for the ipv4 multicast ioctl SIOCGETSGCNT") added the
correct plumbing to handle SIOCGETSGCNT properly.

However, whilst definiting a proper "struct compat_sioc_sg_req" it
isn't actually used in ipmr_compat_ioctl().

Correct this oversight.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 709b46e8d90badda1898caea50483c12af178e96 ("net: Add compat
ioctl support for the ipv4 multicast ioctl SIOCGETSGCNT") added the
correct plumbing to handle SIOCGETSGCNT properly.

However, whilst definiting a proper "struct compat_sioc_sg_req" it
isn't actually used in ipmr_compat_ioctl().

Correct this oversight.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6</title>
<updated>2011-02-02T23:52:23+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-02-02T23:52:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0bc0be7f20efea664b7c4c1d0b1822bc8f53a8b4'/>
<id>0bc0be7f20efea664b7c4c1d0b1822bc8f53a8b4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gro: reset skb_iif on reuse</title>
<updated>2011-02-02T22:53:25+00:00</updated>
<author>
<name>Andy Gospodarek</name>
<email>andy@greyhouse.net</email>
</author>
<published>2011-02-02T22:53:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6d152e23ad1a7a5b40fef1f42e017d66e6115159'/>
<id>6d152e23ad1a7a5b40fef1f42e017d66e6115159</id>
<content type='text'>
Like Herbert's change from a few days ago:

66c46d741e2e60f0e8b625b80edb0ab820c46d7a gro: Reset dev pointer on reuse

this may not be necessary at this point, but we should still clean up
the skb-&gt;skb_iif.  If not we may end up with an invalid valid for
skb-&gt;skb_iif when the skb is reused and the check is done in
__netif_receive_skb.

Signed-off-by: Andy Gospodarek &lt;andy@greyhouse.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Like Herbert's change from a few days ago:

66c46d741e2e60f0e8b625b80edb0ab820c46d7a gro: Reset dev pointer on reuse

this may not be necessary at this point, but we should still clean up
the skb-&gt;skb_iif.  If not we may end up with an invalid valid for
skb-&gt;skb_iif when the skb is reused and the check is done in
__netif_receive_skb.

Signed-off-by: Andy Gospodarek &lt;andy@greyhouse.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netfilter: ecache: always set events bits, filter them later</title>
<updated>2011-02-01T15:06:30+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2011-02-01T15:06:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3db7e93d3308fb882884b9f024235d6fbf542034'/>
<id>3db7e93d3308fb882884b9f024235d6fbf542034</id>
<content type='text'>
For the following rule:

iptables -I PREROUTING -t raw -j CT --ctevents assured

The event delivered looks like the following:

 [UPDATE] tcp      6 src=192.168.0.2 dst=192.168.1.2 sport=37041 dport=80 src=192.168.1.2 dst=192.168.1.100 sport=80 dport=37041 [ASSURED]

Note that the TCP protocol state is not included. For that reason
the CT event filtering is not very useful for conntrackd.

To resolve this issue, instead of conditionally setting the CT events
bits based on the ctmask, we always set them and perform the filtering
in the late stage, just before the delivery.

Thus, the event delivered looks like the following:

 [UPDATE] tcp      6 432000 ESTABLISHED src=192.168.0.2 dst=192.168.1.2 sport=37041 dport=80 src=192.168.1.2 dst=192.168.1.100 sport=80 dport=37041 [ASSURED]

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For the following rule:

iptables -I PREROUTING -t raw -j CT --ctevents assured

The event delivered looks like the following:

 [UPDATE] tcp      6 src=192.168.0.2 dst=192.168.1.2 sport=37041 dport=80 src=192.168.1.2 dst=192.168.1.100 sport=80 dport=37041 [ASSURED]

Note that the TCP protocol state is not included. For that reason
the CT event filtering is not very useful for conntrackd.

To resolve this issue, instead of conditionally setting the CT events
bits based on the ctmask, we always set them and perform the filtering
in the late stage, just before the delivery.

Thus, the event delivered looks like the following:

 [UPDATE] tcp      6 432000 ESTABLISHED src=192.168.0.2 dst=192.168.1.2 sport=37041 dport=80 src=192.168.1.2 dst=192.168.1.100 sport=80 dport=37041 [ASSURED]

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netfilter: arpt_mangle: fix return values of checkentry</title>
<updated>2011-02-01T15:03:46+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2011-02-01T15:03:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9d0db8b6b1da9e3d4c696ef29449700c58d589db'/>
<id>9d0db8b6b1da9e3d4c696ef29449700c58d589db</id>
<content type='text'>
In 135367b "netfilter: xtables: change xt_target.checkentry return type",
the type returned by checkentry was changed from boolean to int, but the
return values where not adjusted.

arptables: Input/output error

This broke arptables with the mangle target since it returns true
under success, which is interpreted by xtables as &gt;0, thus
returning EIO.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In 135367b "netfilter: xtables: change xt_target.checkentry return type",
the type returned by checkentry was changed from boolean to int, but the
return values where not adjusted.

arptables: Input/output error

This broke arptables with the mangle target since it returns true
under success, which is interpreted by xtables as &gt;0, thus
returning EIO.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Fix ipv6 neighbour unregister_sysctl_table warning</title>
<updated>2011-02-01T04:54:17+00:00</updated>
<author>
<name>Eric W. Biederman</name>
<email>ebiederm@xmission.com</email>
</author>
<published>2011-02-01T04:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bf36076a67db6d7423d09d861a072337866f0dd9'/>
<id>bf36076a67db6d7423d09d861a072337866f0dd9</id>
<content type='text'>
In my testing of 2.6.37 I was occassionally getting a warning about
sysctl table entries being unregistered in the wrong order.  Digging
in it turns out this dates back to the last great sysctl reorg done
where Al Viro introduced the requirement that sysctl directories
needed to be created before and destroyed after the files in them.

It turns out that in that great reorg /proc/sys/net/ipv6/neigh was
overlooked.  So this patch fixes that oversight and makes an annoying
warning message go away.

&gt;------------[ cut here ]------------
&gt;WARNING: at kernel/sysctl.c:1992 unregister_sysctl_table+0x134/0x164()
&gt;Pid: 23951, comm: kworker/u:3 Not tainted 2.6.37-350888.2010AroraKernelBeta.fc14.x86_64 #1
&gt;Call Trace:
&gt; [&lt;ffffffff8103e034&gt;] warn_slowpath_common+0x80/0x98
&gt; [&lt;ffffffff8103e061&gt;] warn_slowpath_null+0x15/0x17
&gt; [&lt;ffffffff810452f8&gt;] unregister_sysctl_table+0x134/0x164
&gt; [&lt;ffffffff810e7834&gt;] ? kfree+0xc4/0xd1
&gt; [&lt;ffffffff813439b2&gt;] neigh_sysctl_unregister+0x22/0x3a
&gt; [&lt;ffffffffa02cd14e&gt;] addrconf_ifdown+0x33f/0x37b [ipv6]
&gt; [&lt;ffffffff81331ec2&gt;] ? skb_dequeue+0x5f/0x6b
&gt; [&lt;ffffffffa02ce4a5&gt;] addrconf_notify+0x69b/0x75c [ipv6]
&gt; [&lt;ffffffffa02eb953&gt;] ? ip6mr_device_event+0x98/0xa9 [ipv6]
&gt; [&lt;ffffffff813d2413&gt;] notifier_call_chain+0x32/0x5e
&gt; [&lt;ffffffff8105bdea&gt;] raw_notifier_call_chain+0xf/0x11
&gt; [&lt;ffffffff8133cdac&gt;] call_netdevice_notifiers+0x45/0x4a
&gt; [&lt;ffffffff8133d2b0&gt;] rollback_registered_many+0x118/0x201
&gt; [&lt;ffffffff8133d3af&gt;] unregister_netdevice_many+0x16/0x6d
&gt; [&lt;ffffffff8133d571&gt;] default_device_exit_batch+0xa4/0xb8
&gt; [&lt;ffffffff81337c42&gt;] ? cleanup_net+0x0/0x194
&gt; [&lt;ffffffff81337a2a&gt;] ops_exit_list+0x4e/0x56
&gt; [&lt;ffffffff81337d36&gt;] cleanup_net+0xf4/0x194
&gt; [&lt;ffffffff81053318&gt;] process_one_work+0x187/0x280
&gt; [&lt;ffffffff8105441b&gt;] worker_thread+0xff/0x19f
&gt; [&lt;ffffffff8105431c&gt;] ? worker_thread+0x0/0x19f
&gt; [&lt;ffffffff8105776d&gt;] kthread+0x7d/0x85
&gt; [&lt;ffffffff81003824&gt;] kernel_thread_helper+0x4/0x10
&gt; [&lt;ffffffff810576f0&gt;] ? kthread+0x0/0x85
&gt; [&lt;ffffffff81003820&gt;] ? kernel_thread_helper+0x0/0x10
&gt;---[ end trace 8a7e9310b35e9486 ]---

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In my testing of 2.6.37 I was occassionally getting a warning about
sysctl table entries being unregistered in the wrong order.  Digging
in it turns out this dates back to the last great sysctl reorg done
where Al Viro introduced the requirement that sysctl directories
needed to be created before and destroyed after the files in them.

It turns out that in that great reorg /proc/sys/net/ipv6/neigh was
overlooked.  So this patch fixes that oversight and makes an annoying
warning message go away.

&gt;------------[ cut here ]------------
&gt;WARNING: at kernel/sysctl.c:1992 unregister_sysctl_table+0x134/0x164()
&gt;Pid: 23951, comm: kworker/u:3 Not tainted 2.6.37-350888.2010AroraKernelBeta.fc14.x86_64 #1
&gt;Call Trace:
&gt; [&lt;ffffffff8103e034&gt;] warn_slowpath_common+0x80/0x98
&gt; [&lt;ffffffff8103e061&gt;] warn_slowpath_null+0x15/0x17
&gt; [&lt;ffffffff810452f8&gt;] unregister_sysctl_table+0x134/0x164
&gt; [&lt;ffffffff810e7834&gt;] ? kfree+0xc4/0xd1
&gt; [&lt;ffffffff813439b2&gt;] neigh_sysctl_unregister+0x22/0x3a
&gt; [&lt;ffffffffa02cd14e&gt;] addrconf_ifdown+0x33f/0x37b [ipv6]
&gt; [&lt;ffffffff81331ec2&gt;] ? skb_dequeue+0x5f/0x6b
&gt; [&lt;ffffffffa02ce4a5&gt;] addrconf_notify+0x69b/0x75c [ipv6]
&gt; [&lt;ffffffffa02eb953&gt;] ? ip6mr_device_event+0x98/0xa9 [ipv6]
&gt; [&lt;ffffffff813d2413&gt;] notifier_call_chain+0x32/0x5e
&gt; [&lt;ffffffff8105bdea&gt;] raw_notifier_call_chain+0xf/0x11
&gt; [&lt;ffffffff8133cdac&gt;] call_netdevice_notifiers+0x45/0x4a
&gt; [&lt;ffffffff8133d2b0&gt;] rollback_registered_many+0x118/0x201
&gt; [&lt;ffffffff8133d3af&gt;] unregister_netdevice_many+0x16/0x6d
&gt; [&lt;ffffffff8133d571&gt;] default_device_exit_batch+0xa4/0xb8
&gt; [&lt;ffffffff81337c42&gt;] ? cleanup_net+0x0/0x194
&gt; [&lt;ffffffff81337a2a&gt;] ops_exit_list+0x4e/0x56
&gt; [&lt;ffffffff81337d36&gt;] cleanup_net+0xf4/0x194
&gt; [&lt;ffffffff81053318&gt;] process_one_work+0x187/0x280
&gt; [&lt;ffffffff8105441b&gt;] worker_thread+0xff/0x19f
&gt; [&lt;ffffffff8105431c&gt;] ? worker_thread+0x0/0x19f
&gt; [&lt;ffffffff8105776d&gt;] kthread+0x7d/0x85
&gt; [&lt;ffffffff81003824&gt;] kernel_thread_helper+0x4/0x10
&gt; [&lt;ffffffff810576f0&gt;] ? kthread+0x0/0x85
&gt; [&lt;ffffffff81003820&gt;] ? kernel_thread_helper+0x0/0x10
&gt;---[ end trace 8a7e9310b35e9486 ]---

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
