netrom: zero length frame filtering in NetRom
authorBernard Pidoux <f6bvp@amsat.org>
Sat, 21 Mar 2009 20:34:20 +0000 (13:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Mar 2009 20:34:20 +0000 (13:34 -0700)
commita3ac80a130300573de351083cf4a5b46d233e8bf
tree60ae14aecdec93a6cea76b5e583af4d61f9c9ec8
parentf99bcff7a290768e035f3d4726e103c6ebe858bf
netrom: zero length frame filtering in NetRom

A zero length frame filter was recently introduced in ROSE protocole.
Previous commit makes the same at AX25 protocole level.
This patch has the same purpose for NetRom  protocole.
The reason is that empty frames have no meaning in NetRom protocole.

Signed-off-by: Bernard Pidoux <f6bvp@amsat.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/af_netrom.c