diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/dns_resolver/dns_key.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/dns_resolver/dns_key.c b/net/dns_resolver/dns_key.c index f380b2c58178..92df6e508ae7 100644 --- a/net/dns_resolver/dns_key.c +++ b/net/dns_resolver/dns_key.c | |||
@@ -177,10 +177,11 @@ static void dns_resolver_free_preparse(struct key_preparsed_payload *prep) | |||
177 | * should end with a period). The domain name is case-independent. | 177 | * should end with a period). The domain name is case-independent. |
178 | */ | 178 | */ |
179 | static int | 179 | static int |
180 | dns_resolver_match(const struct key *key, const void *description) | 180 | dns_resolver_match(const struct key *key, |
181 | const struct key_match_data *match_data) | ||
181 | { | 182 | { |
182 | int slen, dlen, ret = 0; | 183 | int slen, dlen, ret = 0; |
183 | const char *src = key->description, *dsp = description; | 184 | const char *src = key->description, *dsp = match_data->raw_data; |
184 | 185 | ||
185 | kenter("%s,%s", src, dsp); | 186 | kenter("%s,%s", src, dsp); |
186 | 187 | ||