summaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_lro.c
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2008-01-08 06:56:41 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-09 08:30:17 +0100
commit02f1c89d6e36507476f78108a3dcc78538be460b (patch)
treedc87b78a355096b9dfdfa892b4f94a962020a766 /net/ipv4/inet_lro.c
parent[IPV4] ROUTE: ip_rt_dump() is unecessary slow (diff)
downloadlinux-02f1c89d6e36507476f78108a3dcc78538be460b.tar.xz
linux-02f1c89d6e36507476f78108a3dcc78538be460b.zip
[NET]: Clone the sk_buff 'iif' field in __skb_clone()
Both NetLabel and SELinux (other LSMs may grow to use it as well) rely on the 'iif' field to determine the receiving network interface of inbound packets. Unfortunately, at present this field is not preserved across a skb clone operation which can lead to garbage values if the cloned skb is sent back through the network stack. This patch corrects this problem by properly copying the 'iif' field in __skb_clone() and removing the 'iif' field assignment from skb_act_clone() since it is no longer needed. Also, while we are here, put the assignments in the same order as the offsets to reduce cacheline bounces. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_lro.c')
0 files changed, 0 insertions, 0 deletions