Re: [IPSEC] Move hardware headers for decaped packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

> Right now it allows us to avoid the memmove in transport mode.  Otherwise
> an IPCOMP/ESP combo will cause the header to move twice.

I see.

> In future if we can make sure that mac_len is right before netif_rx

... _before_ netif_rx. I see now, I misread your statement before.
Well, maybe it makes sense just to search and replace all changes
done to skb->mac with some macros. Taking into account that for lots of devices
it is inside *_type_trans, there exist not so much of such places.

Alexey
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux