Skip to content

Commit

Permalink
Phonet: include generic link-layer header size in MAX_PHONET_HEADER
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Remi Denis-Courmont authored and David S. Miller committed Oct 27, 2008
1 parent f8d56f1 commit e214a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/phonet/phonet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e214a8c

Please sign in to comment.