Skip to content

Commit e3fec5a

Browse files
ramirosenklassert
authored andcommitted
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>
1 parent 99565a6 commit e3fec5a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/xfrm/xfrm_policy.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,8 +2132,6 @@ struct dst_entry *xfrm_lookup(struct net *net, struct dst_entry *dst_orig,
21322132
* have the xfrm_state's. We need to wait for KM to
21332133
* negotiate new SA's or bail out with error.*/
21342134
if (net->xfrm.sysctl_larval_drop) {
2135-
/* EREMOTE tells the caller to generate
2136-
* a one-shot blackhole route. */
21372135
dst_release(dst);
21382136
xfrm_pols_put(pols, drop_pols);
21392137
XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTNOSTATES);

0 commit comments

Comments
 (0)