<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net/netfilter, branch v2.6.32</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.32</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.32'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2009-11-23T17:52:51Z</updated>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6</title>
<updated>2009-11-23T17:52:51Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2009-11-23T17:52:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=73570314e4fa1605189a32c493fd15eebdc44863'/>
<id>urn:sha1:73570314e4fa1605189a32c493fd15eebdc44863</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netfilter: xt_limit: fix invalid return code in limit_mt_check()</title>
<updated>2009-11-23T12:37:23Z</updated>
<author>
<name>Patrick McHardy</name>
<email>kaber@trash.net</email>
</author>
<published>2009-11-23T12:37:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8fa539bd911e8a7faa7cd77b5192229c9666d9b8'/>
<id>urn:sha1:8fa539bd911e8a7faa7cd77b5192229c9666d9b8</id>
<content type='text'>
Commit acc738fe (netfilter: xtables: avoid pointer to self) introduced
an invalid return value in limit_mt_check().

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</content>
</entry>
<entry>
<title>netfilter: nf_log: fix sleeping function called from invalid context in seq_show()</title>
<updated>2009-11-19T21:16:31Z</updated>
<author>
<name>Patrick McHardy</name>
<email>kaber@trash.net</email>
</author>
<published>2009-11-19T04:59:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6440fe059ee8b49b548c8c2c1447530075d07e10'/>
<id>urn:sha1:6440fe059ee8b49b548c8c2c1447530075d07e10</id>
<content type='text'>
[  171.925285] BUG: sleeping function called from invalid context at kernel/mutex.c:280
[  171.925296] in_atomic(): 1, irqs_disabled(): 0, pid: 671, name: grep
[  171.925306] 2 locks held by grep/671:
[  171.925312]  #0:  (&amp;p-&gt;lock){+.+.+.}, at: [&lt;c10b8acd&gt;] seq_read+0x25/0x36c
[  171.925340]  #1:  (rcu_read_lock){.+.+..}, at: [&lt;c1391dac&gt;] seq_start+0x0/0x44
[  171.925372] Pid: 671, comm: grep Not tainted 2.6.31.6-4-netbook #3
[  171.925380] Call Trace:
[  171.925398]  [&lt;c105104e&gt;] ? __debug_show_held_locks+0x1e/0x20
[  171.925414]  [&lt;c10264ac&gt;] __might_sleep+0xfb/0x102
[  171.925430]  [&lt;c1461521&gt;] mutex_lock_nested+0x1c/0x2ad
[  171.925444]  [&lt;c1391c9e&gt;] seq_show+0x74/0x127
[  171.925456]  [&lt;c10b8c5c&gt;] seq_read+0x1b4/0x36c
[  171.925469]  [&lt;c10b8aa8&gt;] ? seq_read+0x0/0x36c
[  171.925483]  [&lt;c10d5c8e&gt;] proc_reg_read+0x60/0x74
[  171.925496]  [&lt;c10d5c2e&gt;] ? proc_reg_read+0x0/0x74
[  171.925510]  [&lt;c10a4468&gt;] vfs_read+0x87/0x110
[  171.925523]  [&lt;c10a458a&gt;] sys_read+0x3b/0x60
[  171.925538]  [&lt;c1002a49&gt;] syscall_call+0x7/0xb

Fix it by replacing RCU with nf_log_mutex.

Reported-by: "Yin, Kangkai" &lt;kangkai.yin@intel.com&gt;
Signed-off-by: Wu Fengguang &lt;fengguang.wu@intel.com&gt;
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>netfilter: xt_osf: fix xt_osf_remove_callback() return value</title>
<updated>2009-11-19T21:16:26Z</updated>
<author>
<name>Patrick McHardy</name>
<email>kaber@trash.net</email>
</author>
<published>2009-11-19T04:59:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d667b9cfd09a2ca61f74a9edc73d08d2ad0d14da'/>
<id>urn:sha1:d667b9cfd09a2ca61f74a9edc73d08d2ad0d14da</id>
<content type='text'>
Return a negative error value.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
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>netfilter: nf_log: fix sleeping function called from invalid context in seq_show()</title>
<updated>2009-11-13T08:34:44Z</updated>
<author>
<name>Wu Fengguang</name>
<email>fengguang.wu@intel.com</email>
</author>
<published>2009-11-13T08:34:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7378396cd172cc058fa62220c6486419046c4e0c'/>
<id>urn:sha1:7378396cd172cc058fa62220c6486419046c4e0c</id>
<content type='text'>
[  171.925285] BUG: sleeping function called from invalid context at kernel/mutex.c:280
[  171.925296] in_atomic(): 1, irqs_disabled(): 0, pid: 671, name: grep
[  171.925306] 2 locks held by grep/671:
[  171.925312]  #0:  (&amp;p-&gt;lock){+.+.+.}, at: [&lt;c10b8acd&gt;] seq_read+0x25/0x36c
[  171.925340]  #1:  (rcu_read_lock){.+.+..}, at: [&lt;c1391dac&gt;] seq_start+0x0/0x44
[  171.925372] Pid: 671, comm: grep Not tainted 2.6.31.6-4-netbook #3
[  171.925380] Call Trace:
[  171.925398]  [&lt;c105104e&gt;] ? __debug_show_held_locks+0x1e/0x20
[  171.925414]  [&lt;c10264ac&gt;] __might_sleep+0xfb/0x102
[  171.925430]  [&lt;c1461521&gt;] mutex_lock_nested+0x1c/0x2ad
[  171.925444]  [&lt;c1391c9e&gt;] seq_show+0x74/0x127
[  171.925456]  [&lt;c10b8c5c&gt;] seq_read+0x1b4/0x36c
[  171.925469]  [&lt;c10b8aa8&gt;] ? seq_read+0x0/0x36c
[  171.925483]  [&lt;c10d5c8e&gt;] proc_reg_read+0x60/0x74
[  171.925496]  [&lt;c10d5c2e&gt;] ? proc_reg_read+0x0/0x74
[  171.925510]  [&lt;c10a4468&gt;] vfs_read+0x87/0x110
[  171.925523]  [&lt;c10a458a&gt;] sys_read+0x3b/0x60
[  171.925538]  [&lt;c1002a49&gt;] syscall_call+0x7/0xb

Fix it by replacing RCU with nf_log_mutex.

Reported-by: "Yin, Kangkai" &lt;kangkai.yin@intel.com&gt;
Signed-off-by: Wu Fengguang &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</content>
</entry>
<entry>
<title>netfilter: xt_osf: fix xt_osf_remove_callback() return value</title>
<updated>2009-11-13T08:31:35Z</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-11-13T08:31:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1c622ae67bfc729891f5cd80795b15b87e6ac471'/>
<id>urn:sha1:1c622ae67bfc729891f5cd80795b15b87e6ac471</id>
<content type='text'>
Return a negative error value.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2009-11-09T17:51:42Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-11-09T17:51:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1ce55238e2dd46b978b098a85cb3d3ea494e4a93'/>
<id>urn:sha1:1ce55238e2dd46b978b098a85cb3d3ea494e4a93</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (34 commits)
  net/fsl_pq_mdio: add module license GPL
  can: fix WARN_ON dump in net/core/rtnetlink.c:rtmsg_ifinfo()
  can: should not use __dev_get_by_index() without locks
  hisax: remove bad udelay call to fix build error on ARM
  ipip: Fix handling of DF packets when pmtudisc is OFF
  qlge: Set PCIe reset type for EEH to fundamental.
  qlge: Fix early exit from mbox cmd complete wait.
  ixgbe: fix traffic hangs on Tx with ioatdma loaded
  ixgbe: Fix checking TFCS register for TXOFF status when DCB is enabled
  ixgbe: Fix gso_max_size for 82599 when DCB is enabled
  macsonic: fix crash on PowerBook 520
  NET: cassini, fix lock imbalance
  ems_usb: Fix byte order issues on big endian machines
  be2net: Bug fix to send config commands to hardware after netdev_register
  be2net: fix to set proper flow control on resume
  netfilter: xt_connlimit: fix regression caused by zero family value
  rt2x00: Don't queue ieee80211 work after USB removal
  Revert "ipw2200: fix oops on missing firmware"
  decnet: netdevice refcount leak
  netfilter: nf_nat: fix NAT issue in 2.6.30.4+
  ...
</content>
</entry>
<entry>
<title>netfilter: xt_connlimit: fix regression caused by zero family value</title>
<updated>2009-11-07T02:08:32Z</updated>
<author>
<name>Jan Engelhardt</name>
<email>jengelh@medozas.de</email>
</author>
<published>2009-11-07T02:08:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=539054a8fa5141c9a4e9ac6a86d249e3f2bdef45'/>
<id>urn:sha1:539054a8fa5141c9a4e9ac6a86d249e3f2bdef45</id>
<content type='text'>
Commit v2.6.28-rc1~717^2~109^2~2 was slightly incomplete; not all
instances of par-&gt;match-&gt;family were changed to par-&gt;family.

References: http://bugzilla.netfilter.org/show_bug.cgi?id=610
Signed-off-by: Jan Engelhardt &lt;jengelh@medozas.de&gt;
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>netfilter: nf_nat: fix NAT issue in 2.6.30.4+</title>
<updated>2009-11-06T08:43:42Z</updated>
<author>
<name>Jozsef Kadlecsik</name>
<email>kadlec@blackhole.kfki.hu</email>
</author>
<published>2009-11-06T08:43:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f9dd09c7f7199685601d75882447a6598be8a3e0'/>
<id>urn:sha1:f9dd09c7f7199685601d75882447a6598be8a3e0</id>
<content type='text'>
Vitezslav Samel discovered that since 2.6.30.4+ active FTP can not work
over NAT. The "cause" of the problem was a fix of unacknowledged data
detection with NAT (commit a3a9f79e361e864f0e9d75ebe2a0cb43d17c4272).
However, actually, that fix uncovered a long standing bug in TCP conntrack:
when NAT was enabled, we simply updated the max of the right edge of
the segments we have seen (td_end), by the offset NAT produced with
changing IP/port in the data. However, we did not update the other parameter
(td_maxend) which is affected by the NAT offset. Thus that could drift
away from the correct value and thus resulted breaking active FTP.

The patch below fixes the issue by *not* updating the conntrack parameters
from NAT, but instead taking into account the NAT offsets in conntrack in a
consistent way. (Updating from NAT would be more harder and expensive because
it'd need to re-calculate parameters we already calculated in conntrack.)

Signed-off-by: Jozsef Kadlecsik &lt;kadlec@blackhole.kfki.hu&gt;
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>headers: remove sched.h from interrupt.h</title>
<updated>2009-10-11T18:20:58Z</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2009-10-07T13:09:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d43c36dc6b357fa1806800f18aa30123c747a6d1'/>
<id>urn:sha1:d43c36dc6b357fa1806800f18aa30123c747a6d1</id>
<content type='text'>
After m68k's task_thread_info() doesn't refer to current,
it's possible to remove sched.h from interrupt.h and not break m68k!
Many thanks to Heiko Carstens for allowing this.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
</content>
</entry>
</feed>
