Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72941
b: refs/heads/master
c: 298bb62
h: refs/heads/master
i:
  72939: c60dc28
v: v3
  • Loading branch information
Stephen Rothwell authored and David S. Miller committed Oct 31, 2007
1 parent a501518 commit a221922
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 97ef1bb0c8e371b7988287f38bd107c4aa14d78d
refs/heads/master: 298bb62175a8e8c2f21f3e00543cda853f423599
4 changes: 2 additions & 2 deletions trunk/net/key/af_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,9 @@ static inline int pfkey_sec_ctx_len(struct sadb_x_sec_ctx *sec_ctx)
static inline int verify_sec_ctx_len(void *p)
{
struct sadb_x_sec_ctx *sec_ctx = (struct sadb_x_sec_ctx *)p;
int len;
int len = sec_ctx->sadb_x_ctx_len;

if (sec_ctx->sadb_x_ctx_len > PAGE_SIZE)
if (len > PAGE_SIZE)
return -EINVAL;

len = pfkey_sec_ctx_len(sec_ctx);
Expand Down

0 comments on commit a221922

Please sign in to comment.