On Wed, Oct 19, 2016 at 10:07:57PM +0700, Ivan Safonov wrote: > @@ -1733,6 +1729,13 @@ static int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reor > return bPktInBuf; > } > > +void strip_iv_icv(struct sk_buff *skb, uint header_len, > + uint iv_len, uint icv_len) { Curly braces go down a line. > + memmove(skb->data + iv_len, skb->data, header_len); > + skb_pull(skb, iv_len); > + skb_trim(skb, skb->len - icv_len); > +} regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel