[Openswan dev] decrypted packet appears at wrong ipsec interface

Tino Keitel tino.keitel at innominate.com
Wed Jan 14 05:24:18 EST 2009


On Tue, Jan 13, 2009 at 17:54:59 +0530, hiren joshi wrote:
> Hello,
> 
> The following patch is working for me:
> 
> --- net/ipsec/ipsec_rcv.c.orig    Tue Dec 23 13:10:46 2008
> +++ net/ipsec/ipsec_rcv.c    Tue Dec 23 15:29:00 2008
> @@ -1619,18 +1619,44 @@ int klips26_rcv_encap(struct sk_buff *sk
>  {
>      struct ipsec_rcv_state nirs, *irs = &nirs;
>      struct iphdr *ipp;
> +    char name[9];

Using IFNAMSIZ would be better here.

Regards,
Tino


More information about the Dev mailing list