<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/net/ipv4/ip_vti.c, branch linux-3.7.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>ipv4/ip_vti.c: VTI fix post-decryption forwarding</title>
<updated>2012-11-15T02:40:21+00:00</updated>
<author>
<name>Saurabh Mohan</name>
<email>saurabh.mohan@vyatta.com</email>
</author>
<published>2012-11-15T02:08:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b2942004fb5c9f3304b77e187b8a1977b3626c9b'/>
<id>b2942004fb5c9f3304b77e187b8a1977b3626c9b</id>
<content type='text'>
With the latest kernel there are two things that must be done post decryption
 so that the packet are forwarded.
 1. Remove the mark from the packet. This will cause the packet to not match
 the ipsec-policy again. However doing this causes the post-decryption check to
 fail also and the packet will get dropped. (cat /proc/net/xfrm_stat).
 2. Remove the sp association in the skbuff so that no policy check is done on
 the packet for VTI tunnels.

Due to #2 above we must now do a security-policy check in the vti rcv path
prior to resetting the mark in the skbuff.

Signed-off-by: Saurabh Mohan &lt;saurabh.mohan@vyatta.com&gt;
Reported-by: Ruben Herold &lt;ruben@puettmann.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>
With the latest kernel there are two things that must be done post decryption
 so that the packet are forwarded.
 1. Remove the mark from the packet. This will cause the packet to not match
 the ipsec-policy again. However doing this causes the post-decryption check to
 fail also and the packet will get dropped. (cat /proc/net/xfrm_stat).
 2. Remove the sp association in the skbuff so that no policy check is done on
 the packet for VTI tunnels.

Due to #2 above we must now do a security-policy check in the vti rcv path
prior to resetting the mark in the skbuff.

Signed-off-by: Saurabh Mohan &lt;saurabh.mohan@vyatta.com&gt;
Reported-by: Ruben Herold &lt;ruben@puettmann.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vti: fix sparse bit endian warnings</title>
<updated>2012-10-12T17:56:52+00:00</updated>
<author>
<name>stephen hemminger</name>
<email>shemminger@vyatta.com</email>
</author>
<published>2012-10-11T12:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8437e7610c2d3e06f87f71fb82e10ed4b291812a'/>
<id>8437e7610c2d3e06f87f71fb82e10ed4b291812a</id>
<content type='text'>
Use be32_to_cpu instead of htonl to keep sparse happy.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.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>
Use be32_to_cpu instead of htonl to keep sparse happy.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>xfrm: remove extranous rcu_read_lock</title>
<updated>2012-09-27T22:12:37+00:00</updated>
<author>
<name>stephen hemminger</name>
<email>shemminger@vyatta.com</email>
</author>
<published>2012-09-24T18:12:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b0558ef24a792906914fcad277f3befe2420e618'/>
<id>b0558ef24a792906914fcad277f3befe2420e618</id>
<content type='text'>
The handlers for xfrm_tunnel are always invoked with rcu read lock
already.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.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>
The handlers for xfrm_tunnel are always invoked with rcu read lock
already.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/ipv4/ip_vti.c: Fix __rcu warnings detected by sparse.</title>
<updated>2012-07-23T20:00:54+00:00</updated>
<author>
<name>Saurabh</name>
<email>saurabh.mohan@vyatta.com</email>
</author>
<published>2012-07-23T07:52:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e7d4b18cbebc635fafd634688bbf66c59912879f'/>
<id>e7d4b18cbebc635fafd634688bbf66c59912879f</id>
<content type='text'>
With CONFIG_SPARSE_RCU_POINTER=y sparse identified references which did not
specificy __rcu in ip_vti.c

Signed-off-by: Saurabh Mohan &lt;saurabh.mohan@vyatta.com&gt;
Reported-by: Fengguang Wu &lt;fengguang.wu@intel.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>
With CONFIG_SPARSE_RCU_POINTER=y sparse identified references which did not
specificy __rcu in ip_vti.c

Signed-off-by: Saurabh Mohan &lt;saurabh.mohan@vyatta.com&gt;
Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/ipv4: VTI support new module for ip_vti.</title>
<updated>2012-07-18T16:36:12+00:00</updated>
<author>
<name>Saurabh</name>
<email>saurabh.mohan@vyatta.com</email>
</author>
<published>2012-07-17T09:44:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1181412c1a671ed4e8fb1736f17e6ec617c68059'/>
<id>1181412c1a671ed4e8fb1736f17e6ec617c68059</id>
<content type='text'>
New VTI tunnel kernel module, Kconfig and Makefile changes.

Signed-off-by: Saurabh Mohan &lt;saurabh.mohan@vyatta.com&gt;
Reviewed-by: Stephen Hemminger &lt;shemminger@vyatta.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>
New VTI tunnel kernel module, Kconfig and Makefile changes.

Signed-off-by: Saurabh Mohan &lt;saurabh.mohan@vyatta.com&gt;
Reviewed-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
