• A
    [INET] ESP: Must #include <linux/scatterlist.h> · 72998d8c
    Adrian Bunk 提交于
    This patch fixes the following compile errors in some configurations:
    
    <--  snip  -->
    
    ...
      CC      net/ipv4/esp4.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/net/ipv4/esp4.c: In function 'esp_output':
    /home/bunk/linux/kernel-2.6/git/linux-2.6/net/ipv4/esp4.c:113: error: implicit declaration of function 'sg_init_table'
    make[3]: *** [net/ipv4/esp4.o] Error 1
    ...
    /home/bunk/linux/kernel-2.6/git/linux-2.6/net/ipv6/esp6.c: In function 'esp6_output':
    /home/bunk/linux/kernel-2.6/git/linux-2.6/net/ipv6/esp6.c:112: error: implicit declaration of function 'sg_init_table'
    make[3]: *** [net/ipv6/esp6.o] Error 1
    
    
    <--  snip  -->
    Signed-off-by: NAdrian Bunk <bunk@kernel.org>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    72998d8c
esp4.c 11.4 KB