OSDN Git Service

xfrm: Fix spelling mistake "oflload" -> "offload"
authorColin Ian King <colin.i.king@gmail.com>
Wed, 7 Dec 2022 09:23:14 +0000 (09:23 +0000)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 9 Dec 2022 08:09:40 +0000 (09:09 +0100)
There is a spelling mistake in a NL_SET_ERR_MSG message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_device.c

index 3e9e874..4aff76c 100644 (file)
@@ -379,7 +379,7 @@ int xfrm_dev_policy_add(struct net *net, struct xfrm_policy *xp,
        default:
                xdo->dev = NULL;
                dev_put(dev);
-               NL_SET_ERR_MSG(extack, "Unrecognized oflload direction");
+               NL_SET_ERR_MSG(extack, "Unrecognized offload direction");
                return -EINVAL;
        }