]> git.baikalelectronics.ru Git - kernel.git/commit
ipx: restore token ring define to include/linux/ipx.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 23 May 2012 04:43:45 +0000 (04:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2012 17:49:23 +0000 (13:49 -0400)
commit760890971db22b347993224b512b961abb2c6fdf
treeeffd93d9af8c9f7876998d17f52a23f01091d76c
parentf123644bba8c0054b5ed9ded2feb5679a0d28667
ipx: restore token ring define to include/linux/ipx.h

Commit e417acc734d7a8216e9a545635b051583a811498

    "net: delete all instances of special processing for token ring"

removed the define for IPX_FRAME_TR_8022.

While it is unlikely, we can't be 100% sure that there aren't
random userspace consumers of this value, so restore it.

The only instance I could find was in ncpfs-2.2.6, and it was
safe as-is, since it used #ifdef IPX_FRAME_TR_8022 around the
two use cases it had, but there may be other userspace packages
without similar ifdefs.

Cc: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipx.h