net: only use a single page of slop in MAX_SKB_FRAGS
authorIan Campbell <Ian.Campbell@citrix.com>
Thu, 22 Dec 2011 23:39:14 +0000 (23:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Dec 2011 21:51:18 +0000 (16:51 -0500)
commit9d4dde5215779f4099730194ad30624fdba3d8b2
tree5f0faa91f3359f3335f9063ebb1246db29c8289a
parentf87ce5b254d4eb5b5ec2bfcc78d714fa0e249288
net: only use a single page of slop in MAX_SKB_FRAGS

In order to accommodate a 64K buffer we need 64K/PAGE_SIZE plus one more page
in order to allow for a buffer which does not start on a page boundary.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h