diff options
author | Rami Rosen <ramirose@gmail.com> | 2013-08-19 08:47:11 -0400 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2013-08-19 06:45:16 -0400 |
commit | e3fec5a1c5a1ab4a85ca3f4e41c626fb953ce162 (patch) | |
tree | b214239c0350fac39857e8f1fbee36e80b5a6aab /net/xfrm/xfrm_policy.c | |
parent | 99565a6c471cbb66caa68347c195133017559943 (diff) |
xfrm: remove irrelevant comment in xfrm_input().
This patch removes a comment in xfrm_input() which became irrelevant
due to commit 2774c13, "xfrm: Handle blackhole route creation via afinfo".
That commit removed returning -EREMOTE in the xfrm_lookup() method when the
packet should be discarded and also removed the correspoinding -EREMOTE
handlers. This was replaced by calling the make_blackhole() method. Therefore
the comment about -EREMOTE is not relevant anymore.
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index f7078eb5b64e..ad8cc7bcf065 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -2132,8 +2132,6 @@ restart: | |||
2132 | * have the xfrm_state's. We need to wait for KM to | 2132 | * have the xfrm_state's. We need to wait for KM to |
2133 | * negotiate new SA's or bail out with error.*/ | 2133 | * negotiate new SA's or bail out with error.*/ |
2134 | if (net->xfrm.sysctl_larval_drop) { | 2134 | if (net->xfrm.sysctl_larval_drop) { |
2135 | /* EREMOTE tells the caller to generate | ||
2136 | * a one-shot blackhole route. */ | ||
2137 | dst_release(dst); | 2135 | dst_release(dst); |
2138 | xfrm_pols_put(pols, drop_pols); | 2136 | xfrm_pols_put(pols, drop_pols); |
2139 | XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTNOSTATES); | 2137 | XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTNOSTATES); |