max_linkhdr: Increase from 16 to 20; mainly to cooperate SW VLAN tagging
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 28 Nov 2012 09:21:53 +0000 (17:21 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 28 Nov 2012 09:21:53 +0000 (17:21 +0800)
sys/kern/uipc_domain.c

index df010a1..05784af 100644 (file)
@@ -155,8 +155,8 @@ net_add_domain(void *data)
 static void
 domaininit(void *dummy)
 {
-       if (max_linkhdr < 16)           /* XXX */
-               max_linkhdr = 16;
+       if (max_linkhdr < 20)           /* XXX */
+               max_linkhdr = 20;
 
        callout_init_mp(&pffasttimo_ch);
        callout_init_mp(&pfslowtimo_ch);