projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d56f1
)
Phonet: include generic link-layer header size in MAX_PHONET_HEADER
author
Remi Denis-Courmont
<remi.denis-courmont@nokia.com>
Mon, 27 Oct 2008 06:06:31 +0000
(23:06 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Oct 2008 06:06:31 +0000
(23:06 -0700)
This fixes an OOPS in hard_header if a Phonet address is assigned to a
non-Phonet network interface.
Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/phonet/phonet.h
patch
|
blob
|
history
diff --git
a/include/net/phonet/phonet.h
b/include/net/phonet/phonet.h
index d4e72508e145a8f743f6e02ec4d3a7ea81cdd7a2..c6a24518446039844f384e31265df66b3c01791f 100644
(file)
--- a/
include/net/phonet/phonet.h
+++ b/
include/net/phonet/phonet.h
@@
-27,7
+27,7
@@
* The lower layers may not require more space, ever. Make sure it's
* enough.
*/
-#define MAX_PHONET_HEADER
8
+#define MAX_PHONET_HEADER
(8 + MAX_HEADER)
/*
* Every Phonet* socket has this structure first in its