summaryrefslogtreecommitdiff
path: root/Documentation/pnp.txt
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2015-01-12 13:38:49 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2015-02-09 11:14:17 +0100
commit044a832a7779c0638bea2d0fea901c055b995f4a (patch)
treedede82b9efbd76456e5cc88723763330f29539a5 /Documentation/pnp.txt
parentcd3bafc73d11eb51cb2d3691629718431e1768ce (diff)
xfrm: Fix local error reporting crash with interfamily tunnels
We set the outer mode protocol too early. As a result, the local error handler might dispatch to the wrong address family and report the error to a wrong socket type. We fix this by setting the outer protocol to the skb after we accessed the inner mode for the last time, right before we do the atcual encapsulation where we switch finally to the outer mode. Reported-by: Chris Ruehl <chris.ruehl@gtsys.com.hk> Tested-by: Chris Ruehl <chris.ruehl@gtsys.com.hk> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'Documentation/pnp.txt')
0 files changed, 0 insertions, 0 deletions