RE: [PATCH net-next] net/esp4: Fix invalid esph pointer crash

2017-05-03 Thread Ilan Tayari
> -Original Message- > From: Steffen Klassert [mailto:steffen.klass...@secunet.com] > > On Sun, Apr 30, 2017 at 04:34:38PM +0300, il...@mellanox.com wrote: > > From: Ilan Tayari > > > > Both esp_output and esp_xmit take a pointer to the ESP header > > and place it in esp_info struct pri

Re: [PATCH net-next] net/esp4: Fix invalid esph pointer crash

2017-05-03 Thread Steffen Klassert
On Sun, Apr 30, 2017 at 04:34:38PM +0300, il...@mellanox.com wrote: > From: Ilan Tayari > > Both esp_output and esp_xmit take a pointer to the ESP header > and place it in esp_info struct prior to calling esp_output_head. > > Inside esp_output_head, the call to esp_output_udp_encap > makes sure

Re: [PATCH net-next] net/esp4: Fix invalid esph pointer crash

2017-05-01 Thread David Miller
From: Date: Sun, 30 Apr 2017 16:34:38 +0300 > From: Ilan Tayari > > Both esp_output and esp_xmit take a pointer to the ESP header > and place it in esp_info struct prior to calling esp_output_head. > > Inside esp_output_head, the call to esp_output_udp_encap > makes sure to update the pointer