netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next-2.6] XFRM: remove unused member in xfrm_encap_tmpl.
@ 2010-11-27 17:24 David Shwatrz
  2010-11-29 18:07 ` [net-next-2.6] " Timo Teräs
  0 siblings, 1 reply; 7+ messages in thread
From: David Shwatrz @ 2010-11-27 17:24 UTC (permalink / raw)
  To: David S. Miller, netdev

[-- Attachment #1: Type: text/plain, Size: 133 bytes --]

Hi,
 The patch removes unused member in xfrm_encap_tmpl.

Regards,
David Shwartz


Signed-off-by: David Shwartz <dshwatrz@gmail.com>

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 710 bytes --]

diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h
index b971e38..7312707 100644
--- a/include/linux/xfrm.h
+++ b/include/linux/xfrm.h
@@ -235,7 +235,6 @@ struct xfrm_encap_tmpl {
 	__u16		encap_type;
 	__be16		encap_sport;
 	__be16		encap_dport;
-	xfrm_address_t	encap_oa;
 };
 
 /* AEVENT flags  */
diff --git a/net/key/af_key.c b/net/key/af_key.c
index d87c22d..4851deb 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -1245,7 +1245,6 @@ static struct xfrm_state * pfkey_msg2xfrm_state(struct net *net,
 				ext_hdrs[SADB_X_EXT_NAT_T_DPORT-1];
 			natt->encap_dport = n_port->sadb_x_nat_t_port_port;
 		}
-		memset(&natt->encap_oa, 0, sizeof(natt->encap_oa));
 	}
 
 	err = xfrm_init_state(x);

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-11-29 20:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-27 17:24 [PATCH net-next-2.6] XFRM: remove unused member in xfrm_encap_tmpl David Shwatrz
2010-11-29 18:07 ` [net-next-2.6] " Timo Teräs
2010-11-29 18:57   ` David Miller
2010-11-29 19:15   ` David Shwatrz
2010-11-29 19:27     ` Timo Teräs
2010-11-29 20:09       ` David Shwatrz
2010-11-29 20:35         ` Timo Teräs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).