aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorSteffen Klassert <[email protected]>2008-06-17 16:37:13 -0700
committerDavid S. Miller <[email protected]>2008-06-17 16:38:23 -0700
commitfe833fca2eac6b3d3ad5e35f44ad4638362f1da8 (patch)
tree5069eb9f5b9c9f881fb42dc0e2c347ef7b45036f /net/unix/sysctl_net_unix.c
parenta56b8f81580761c65e4d8d0c04ac1cb7a788bdf1 (diff)
xfrm: fix fragmentation for ipv4 xfrm tunnel
When generating the ip header for the transformed packet we just copy the frag_off field of the ip header from the original packet to the ip header of the new generated packet. If we receive a packet as a chain of fragments, all but the last of the new generated packets have the IP_MF flag set. We have to mask the frag_off field to only keep the IP_DF flag from the original packet. This got lost with git commit 36cf9acf93e8561d9faec24849e57688a81eb9c5 ("[IPSEC]: Separate inner/outer mode processing on output") Signed-off-by: Steffen Klassert <[email protected]> Acked-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions